文章目录
本节重点介绍 :
- prometheus sdk指标简介和如何在node_exporter中禁用
- 节点上自打点数据上报
prometheus sdk指标
promhttp_
代表访问/metrics
的http情况
[root@prome_master_01 tgzs]# curl -s localhost:9100/metrics |grep promhttp_
# HELP promhttp_metric_handler_errors_total Total number of internal errors encountered by the promhttp metric handler.
# TYPE promhttp_metric_handler_errors_total counter
promhttp_metric_handler_errors_total{
cause="encoding"}