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
"""

prometheus Gauge_第1张图片

prometheus Gauge_第2张图片

prometheus Gauge_第3张图片

你可能感兴趣的:(prometheus)