From cf6dc827807a19a925656652203f34a788f1c035 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sun, 29 Nov 2020 11:59:33 +0100 Subject: [PATCH] Correct spelling: possibilites -> possibilities Signed-off-by: Michael Vetter --- prometheus/promhttp/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/promhttp/http.go b/prometheus/promhttp/http.go index 5e1c454..c95f9c8 100644 --- a/prometheus/promhttp/http.go +++ b/prometheus/promhttp/http.go @@ -99,7 +99,7 @@ func HandlerFor(reg prometheus.Gatherer, opts HandlerOpts) http.Handler { inFlightSem = make(chan struct{}, opts.MaxRequestsInFlight) } if opts.Registry != nil { - // Initialize all possibilites that can occur below. + // Initialize all possibilities that can occur below. errCnt.WithLabelValues("gathering") errCnt.WithLabelValues("encoding") if err := opts.Registry.Register(errCnt); err != nil {