From 6c9490fd4900b46cb756d4f595901c9a5f14970e Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sat, 20 Jan 2018 14:44:31 +0100 Subject: [PATCH] Fix HTTP content length metric name (#287) This got broken as part of introducing the Prometheus client library for metrics exposure in 7abdf0570d44cc8dbd258987e9d3353af1d6126e. --- prober/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prober/http.go b/prober/http.go index 0d938f8..5f2af69 100644 --- a/prober/http.go +++ b/prober/http.go @@ -140,7 +140,7 @@ func ProbeHTTP(ctx context.Context, target string, module config.Module, registr Help: "Duration of http request by phase, summed over all redirects", }, []string{"phase"}) contentLengthGauge = prometheus.NewGauge(prometheus.GaugeOpts{ - Name: "content_length", + Name: "probe_http_content_length", Help: "Length of http content response", }) -- 2.25.1