From 10b04fc9fd220343938233c5586556f7e84a2f45 Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Wed, 2 Sep 2020 17:14:20 +0100 Subject: [PATCH] Log http version string we compare with, rather than float we put in metric. (#659) See #658 Signed-off-by: Brian Brazil --- prober/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prober/http.go b/prober/http.go index bcbbf25..125b508 100644 --- a/prober/http.go +++ b/prober/http.go @@ -523,7 +523,7 @@ func ProbeHTTP(ctx context.Context, target string, module config.Module, registr } } if !found { - level.Error(logger).Log("msg", "Invalid HTTP version number", "version", httpVersionNumber) + level.Error(logger).Log("msg", "Invalid HTTP version number", "version", resp.Proto) success = false } } -- 2.25.1