mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
54ce07e9a0
First of all, there was a typo: `encoding=delimited` was a left-over in the `scrapeAcceptHeader`. Second, the recently updated `version=1.0.0` prevents current versions of client_golang to negotiate OpenMetrics, as they expect `version=0.0.1` or no version at all. This commit adds, with lower priority, the latter (no version at all) to the accept header. Fixes #11540, Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
testdata | ||
helpers_test.go | ||
manager_test.go | ||
manager.go | ||
scrape_test.go | ||
scrape.go | ||
target_test.go | ||
target.go |