09 2020 档案
摘要:1.显示请求使用时间-使用gauge显示每次的请求时间 [root@VM_0_111_centos exporters]# cat request_time.py |egrep -v '^#|^$' import prometheus_client from prometheus_client im
阅读全文
摘要:1.编写exporter import prometheus_client from prometheus_client import Gauge,start_http_server,Counter import pycurl import time import threading from io
阅读全文
摘要:0.pushgateway的安装和配置 tar -zxf pushgateway-1.2.0.linux-amd64.tar.gz ./pushgateway & 在Prometheus添加配置 - job_name: 'node_111' static_configs: - targets: ['
阅读全文