From c4a2ebe4cb945d32308e39368f03df1acc348b55 Mon Sep 17 00:00:00 2001 From: Benjamin Visser Date: Wed, 17 Jan 2018 09:26:40 -0500 Subject: [PATCH] removing _total prefix from nginx guage metrics --- internal/ingress/controller/metric/collector/nginx.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/ingress/controller/metric/collector/nginx.go b/internal/ingress/controller/metric/collector/nginx.go index 3372084a8..85c4e4da3 100644 --- a/internal/ingress/controller/metric/collector/nginx.go +++ b/internal/ingress/controller/metric/collector/nginx.go @@ -76,17 +76,17 @@ func NewNginxStatus(watchNamespace, ingressClass string, ngxHealthPort int, ngxV []string{"ingress_class", "namespace"}, nil), 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", []string{"ingress_class", "namespace"}, nil), 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", []string{"ingress_class", "namespace"}, nil), 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", []string{"ingress_class", "namespace"}, nil), }