projects
/
blackbox_exporter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daa62bf
)
Log http version string we compare with, rather than float we put in metric. (#659)
author
Brian Brazil
<brian.brazil@robustperception.io>
Wed, 2 Sep 2020 16:14:20 +0000
(17:14 +0100)
committer
GitHub
<noreply@github.com>
Wed, 2 Sep 2020 16:14:20 +0000
(17:14 +0100)
See #658
Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>
prober/http.go
patch
|
blob
|
blame
|
history
diff --git
a/prober/http.go
b/prober/http.go
index bcbbf25471e966f4f646117545a225acb553d967..125b508089197bc1e9728cd6363342591d618298 100644
(file)
--- 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
}
}