 PromQL 从入门到精通是针对标签做过滤,支持四类操作符:  =:完全匹配,比如 app="clickhouse"  !=:完全不匹配,比如 app!="clickhouse"  =~:正则匹配,比如 app=~"n9e-.*"  !~:正则不匹配,比如 app!~"n9e-.*" 指标名称,通常放到大括号之外,但实际上,指标名称也是一个标签,其标签Key是 __name__,所以之前查询的例子,可以这么写: {__name__ http_request_duration_seconds_bucket{job="n9e-proxy", le="0.1"} 500 http_request_duration_seconds_bucket{job="n9e-proxy", le="1"} 700 http_request_duration_seconds_bucket{job="n9e-proxy", le="10"} 850 http_re http_request_duration_seconds_bucket{job="n9e-proxy", le="20"} 1000 http_request_duration_seconds_bucket{job="n9e-proxy", le="+Inf"} 1000 根据这个数据,我们可以计算出落在各个延迟区间的请求数量,如下: 0 ~ 0.1 : 500 0.1 ~ 1 : 200 10 码力 | 16 页 | 2.77 MB | 1 年前3 PromQL 从入门到精通是针对标签做过滤,支持四类操作符:  =:完全匹配,比如 app="clickhouse"  !=:完全不匹配,比如 app!="clickhouse"  =~:正则匹配,比如 app=~"n9e-.*"  !~:正则不匹配,比如 app!~"n9e-.*" 指标名称,通常放到大括号之外,但实际上,指标名称也是一个标签,其标签Key是 __name__,所以之前查询的例子,可以这么写: {__name__ http_request_duration_seconds_bucket{job="n9e-proxy", le="0.1"} 500 http_request_duration_seconds_bucket{job="n9e-proxy", le="1"} 700 http_request_duration_seconds_bucket{job="n9e-proxy", le="10"} 850 http_re http_request_duration_seconds_bucket{job="n9e-proxy", le="20"} 1000 http_request_duration_seconds_bucket{job="n9e-proxy", le="+Inf"} 1000 根据这个数据,我们可以计算出落在各个延迟区间的请求数量,如下: 0 ~ 0.1 : 500 0.1 ~ 1 : 200 10 码力 | 16 页 | 2.77 MB | 1 年前3
 1.6 利用夜莺扩展能力打造全方位监控系统官网:https://n9e.didiyun.com/ Nightingale 众多企业已上生产,共同打磨夜莺 上图展示部分社区用户,加入夜莺社群,请联系微信:UlricQin Nightingale 众多企业已上生产,共同打磨夜莺 Server01 Server02 Agentd Agentd LoadBalance 1. 单机版Prom 2. 集群版m3db 3. 集群版n9e-tsdb0 码力 | 40 页 | 3.85 MB | 1 年前3 1.6 利用夜莺扩展能力打造全方位监控系统官网:https://n9e.didiyun.com/ Nightingale 众多企业已上生产,共同打磨夜莺 上图展示部分社区用户,加入夜莺社群,请联系微信:UlricQin Nightingale 众多企业已上生产,共同打磨夜莺 Server01 Server02 Agentd Agentd LoadBalance 1. 单机版Prom 2. 集群版m3db 3. 集群版n9e-tsdb0 码力 | 40 页 | 3.85 MB | 1 年前3
 4 【王琼】容器监控架构演进 王琼 YY直播
com/prometheus-vs-victoriametrics-benchmark-on-node-exporter-metrics-4ca29c75590f 总体架构 总体架构 T H A N K S !0 码力 | 23 页 | 2.17 MB | 1 年前3 4 【王琼】容器监控架构演进 王琼 YY直播
com/prometheus-vs-victoriametrics-benchmark-on-node-exporter-metrics-4ca29c75590f 总体架构 总体架构 T H A N K S !0 码力 | 23 页 | 2.17 MB | 1 年前3
 Intro to Prometheus - With a dash of operations & observabilityobservability Outro Main selling points Highly dynamic, built-in service discovery No hierarchical model, n-dimensional label set PromQL: for processing, graphing, alerting, and export Simple operation Highly0 码力 | 19 页 | 63.73 KB | 1 年前3 Intro to Prometheus - With a dash of operations & observabilityobservability Outro Main selling points Highly dynamic, built-in service discovery No hierarchical model, n-dimensional label set PromQL: for processing, graphing, alerting, and export Simple operation Highly0 码力 | 19 页 | 63.73 KB | 1 年前3
 Prometheus Deep Dive - Monitoring. At scale.Beyond Outro Main selling points Highly dynamic, built-in service discovery No hierarchical model, n-dimensional label set PromQL: for processing, graphing, alerting, and export Simple operation Highly0 码力 | 34 页 | 370.20 KB | 1 年前3 Prometheus Deep Dive - Monitoring. At scale.Beyond Outro Main selling points Highly dynamic, built-in service discovery No hierarchical model, n-dimensional label set PromQL: for processing, graphing, alerting, and export Simple operation Highly0 码力 | 34 页 | 370.20 KB | 1 年前3
共 5 条
- 1













