diff --git a/app_exporter.go b/app_exporter.go index 875c93f..ae87dad 100644 --- a/app_exporter.go +++ b/app_exporter.go @@ -56,7 +56,7 @@ func main() { func RecordMetrics(m apps.Metrics) { // export the app-exporter version - m.Version.With(prometheus.Labels{"version": VERSION}) + m.Version.With(prometheus.Labels{"version": VERSION}).Set(1) for { m.Reset()