Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricDeadMansSnitchHeartbeat = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Name: "metricDeadMansSnitchHeartbeat", Help: "Metric for heartbeating the Dead Man's Snitch api", }, []string{"name"}) MetricsList = []prometheus.Collector{ MetricDeadMansSnitchHeartbeat, } )
Functions ¶
func UpdateMetricDeadMansSnitchHeartbeatGauge ¶
func UpdateMetricDeadMansSnitchHeartbeatGauge()
UpdateMetricDeadMansSnitchHeartbeatGauge curls the DMS API, updates the gauge to 1 when successful.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.