fix: set the version value to 1
This commit is contained in:
parent
6136e08bbd
commit
009f07e0af
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ func main() {
|
||||||
|
|
||||||
func RecordMetrics(m apps.Metrics) {
|
func RecordMetrics(m apps.Metrics) {
|
||||||
// export the app-exporter version
|
// export the app-exporter version
|
||||||
m.Version.With(prometheus.Labels{"version": VERSION})
|
m.Version.With(prometheus.Labels{"version": VERSION}).Set(1)
|
||||||
|
|
||||||
for {
|
for {
|
||||||
m.Reset()
|
m.Reset()
|
||||||
|
|
Loading…
Reference in a new issue