prometheus Gauge

 
 
g = Gauge('monitor_net_device',"monitor some net interface",['name',])
g = Gauge('monitor_net_device',"monitor some net interface",['name',])
"""
curl http://192.168.43.149:3214/返回
# HELP monitor_net_device monitor some net interface
# TYPE monitor_net_device gauge
monitor_net_device{name="ens37"} 0.0
"""



猜你喜欢

转载自blog.csdn.net/JackLiu16/article/details/80560605