removing _total prefix from nginx guage metrics
This commit is contained in:
parent
807932259e
commit
c4a2ebe4cb
1 changed files with 3 additions and 3 deletions
|
@ -76,17 +76,17 @@ func NewNginxStatus(watchNamespace, ingressClass string, ngxHealthPort int, ngxV
|
||||||
[]string{"ingress_class", "namespace"}, nil),
|
[]string{"ingress_class", "namespace"}, nil),
|
||||||
|
|
||||||
reading: prometheus.NewDesc(
|
reading: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(ns, "", "current_reading_connections_total"),
|
prometheus.BuildFQName(ns, "", "current_reading_connections"),
|
||||||
"current number of connections where nginx is reading the request header",
|
"current number of connections where nginx is reading the request header",
|
||||||
[]string{"ingress_class", "namespace"}, nil),
|
[]string{"ingress_class", "namespace"}, nil),
|
||||||
|
|
||||||
writing: prometheus.NewDesc(
|
writing: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(ns, "", "current_writing_connections_total"),
|
prometheus.BuildFQName(ns, "", "current_writing_connections"),
|
||||||
"current number of connections where nginx is writing the response back to the client",
|
"current number of connections where nginx is writing the response back to the client",
|
||||||
[]string{"ingress_class", "namespace"}, nil),
|
[]string{"ingress_class", "namespace"}, nil),
|
||||||
|
|
||||||
waiting: prometheus.NewDesc(
|
waiting: prometheus.NewDesc(
|
||||||
prometheus.BuildFQName(ns, "", "current_waiting_connections_total"),
|
prometheus.BuildFQName(ns, "", "current_waiting_connections"),
|
||||||
"current number of idle client connections waiting for a request",
|
"current number of idle client connections waiting for a request",
|
||||||
[]string{"ingress_class", "namespace"}, nil),
|
[]string{"ingress_class", "namespace"}, nil),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue