diff options
Diffstat (limited to 'plugin/reload/metrics.go')
-rw-r--r-- | plugin/reload/metrics.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugin/reload/metrics.go b/plugin/reload/metrics.go index 1f790d4c1..de46862a4 100644 --- a/plugin/reload/metrics.go +++ b/plugin/reload/metrics.go @@ -14,4 +14,11 @@ var ( Name: "failed_count_total", Help: "Counter of the number of failed reload attempts.", }) + + reloadInfo = prometheus.NewGaugeVec(prometheus.GaugeOpts{ + Namespace: plugin.Namespace, + Subsystem: "reload", + Name: "version_info", + Help: "A metric with a constant '1' value labeled by hash, and value which type of hash generated.", + }, []string{"hash", "value"}) ) |