首页 > 其他分享 >Prometheus - Introduction

Prometheus - Introduction

时间:2023-09-26 16:34:32浏览次数:61  
标签:would how Introduction metrics framework Prometheus refers

Prometheus is generally a pull-based system. This would involve the application just exposing an endpoint externally in a format that Prometheus understands. 

We would then install Prometheus on another separate server, which would then require us to rely on service discovery mechanisms to find our application and then access the exposed endpoint to retrieve the application metrics.

The Prometheus server should be configured to be able to discover and access all of these endpoints and gather and aggregate them accordingly.

To make it easier to understand what kind of metrics we can collect that would be useful in our case, we can go with the RED framework. The RED framework stands for Rate, Error Rates, and Duration. The rate refers to how frequently the operation being measured is instantiated or used. Error Rate refers to how frequently the operation results in error. Duration refers to how long said operation takes to execute and to respond in either a favorable or unfavorable manner.

Another alternative metrics framework that we can follow to create metrics that might be useful for is the USE framework. The USE framework represents Utilization, Saturation, and Errors. Utilization refers to the average amount of time that the resource we are trying to measure is busy. Saturation refers to how much extra work the resource we are trying to measure is left/queued up. Errors are simply a count of the number of error events that are happening. 

 

标签:would,how,Introduction,metrics,framework,Prometheus,refers
From: https://www.cnblogs.com/zhangzhihui/p/17730391.html

相关文章

  • 快速搭建云原生开发环境(k8s+pv+prometheus+grafana)
    欢迎访问我的GitHub这里分类和汇总了欣宸的全部原创(含配套源码):https://github.com/zq2599/blog_demos本篇概览欣宸正在为接下新的Java云原生实战系列原创做准备,既然是实战,少不了一套云原生环境,以下内容是必不可少的:linux操作系统kuberneteskubernetes的外部存储,平时......
  • 如何写论文的 abstract摘要和introduction背景介绍
    摘要是题目的扩展、简介是摘要的扩展、正文是简介的扩展,逻辑紧密,环环紧扣。无论是摘要、简介还是正文,围绕的核心都是一个点:题目,突出的是工作内容+创新点。其实无论是核心还是sci,写科技文就像是写八股文,套路都是一样的。下面提供一点写摘要和背景介绍的思路和建议。如何写abstract......
  • 使用Prometheus监控服务器端口
    背景:服务器自定义安装的服务在不查看或不使用时服务挂掉不能主动知道,导致使用时要重新排查 操作:1,部署PrometheusPrometheus服务已经安装完成,本文不做赘述2,安装 blackbox exporter 黑盒监控终端blackbox exporter Prometheus 下如何进行白盒监控,我们监控主机的资源......
  • Prometheus
    Prometheus4、配置#全局配置定义了数据采集的间隔时间和规则扫描的间隔时间#告警配置#告警规则配置定义了满足哪些规则进行告警,定义在yaml文件里#数据采集目标配置定义了采集的端口,名称5、promql简介:promql是用来对prometheus的采集数据进行查询的一种查询语言功......
  • kubesphere 集群管理平台,prometheus数据修改问题
    背景:kubesphere修改完所有控制器资源会恢复回原来的配置,没法通过控制器去修改资源1、登录ks-console容器 kubectlexec-it ks-installer-7bb9b86d69-qlfvg -nkubesphere-system bash#kubesphere所有组件yaml prometheus更改路径:/kubesphere/installer/roles/......
  • 【笔记】在线凸优化 - Ch1. Introduction
    1.1TheOnlineConvexOptimizationSetting在线凸优化Onlineconvexoptimization(OCO),是一个带有博弈论、统计学习、凸优化的新玩意给出如下问题叙述:考虑一种博弈游戏,回合制,第\(t\in[T]\)回合,先由玩家从决策集\({\calK}\in\mathbb{R}^n\)中选择一个决策\({\bfx}......
  • Grafana+Influxdb(Prometheus)+Apache Jmeter搭建可视化性能测试监控平台
    本文参考链接:https://cloud.tencent.com/developer/article/1624720此性能测试监控平台,架构可以是:Grafana+Influxdb+JmeterGrafana+Prometheus+JmeterInfluxdb和Prometheus在这里都是时序性数据库在测试环境中,压测数据对存储和持久化的要求不高,所以这里的组件可以都通过do......
  • Prometheus+Alertmanager集成免费告警电话、短信
    Prometheus是由SoundCloud开发的开源监控报警系统和时序列数据库(TSDB)。Prometheus使用Go语言开发,是GoogleBorgMon监控系统的开源版本。 https://www.ccloudalarm.com账号后,选择Prometheus监控集成CCloudAlarm告警平台支持参数自定义,可针对自定义参数做告警处理~首先提供Prometh......
  • node_exporter+Prometheus+Grafana 的数据展示
    对性能测试来说,操作系统资源的监控也是必不可少的。以node_exporter+Prometheus+Grafana为例来说下。结构图: 一、node_exporterhttps://kgithub.com/prometheus/node_exporter/releases下载安装包,解压运行即可。默认监听9100端口,注意端口冲突! 二、Prometheus下载解压Pr......
  • prometheus远程永久存储方案VictoriaMetrics 部署单机版
    1、单机版下载地址:https://github.com/VictoriaMetrics/VictoriaMetrics注:集群版选择cluster版本2、下载解压得到二进制文件tar-xfvictoria-metrics-linux-amd64-v1.93.1.tar.gz3、配置服务启动文件cat/etc/systemd/system/victoria-metrics.service[Unit]Description=V......