Prometheus服务发现

说明本文主要对一下内容进行说明云原生、容器场景下监控的挑战;Prometheus服务发现的实现机制;Prometheus中服务发现的几种实现方式;Prometheus中强大的Relabel机制。Prometheus与服务发现在基于云(Iaa


Prometheus+Alertmanager几个时间配置项的说明

resolve_timeout此配置项位于alertmanager主配置的global块中。Alertmanager告警的机制是收到Prometheus发来的信息说某条规则达到阈值,需要进行告警,那么Alertmanager根据配置的规则进


PromQL-转载

指标类型Prometheus有四种指标类型,分别如下:Counter:只增不减的计数器,用于描述某个指标的累计状态,比如请求数量统计,http_requests_totalGauge:可增可减的计量器,用于描述某个指标当前的状态,比如系统内


Prometheus运行参数表

参数名称含义备注–version显示应用的版本信息配置文件参数–config.file=“prometheus.yml”Prometheus配置文件路径WEB服务参数–web.listen-address=“0.0.0.0:9090”UI、


Prometheus安装(二进制)

Prometheus安装方式二进制方式(本文采用方式)容器方式HelmPrometheus OperatorKube-Prometheus Stack下载需要的程序包