You've already forked nginx_exporter
mirror of
https://github.com/nginxinc/nginx-prometheus-exporter.git
synced 2025-07-31 21:04:21 +03:00
Add const labels to upMetric
This commit is contained in:
committed by
Dean Coakley
parent
39585bd443
commit
6a9964bcce
@ -136,7 +136,7 @@ func NewNginxPlusCollector(nginxClient *plusclient.NginxClient, namespace string
|
||||
"timedout": newResolverMetric(namespace, "timedout", "Total number of timed out requests", constLabels),
|
||||
"unknown": newResolverMetric(namespace, "unknown", "Total requests completed with an unknown error", constLabels),
|
||||
},
|
||||
upMetric: newUpMetric(namespace),
|
||||
upMetric: newUpMetric(namespace, constLabels),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user