According to the documentation Prometheus v3 is more strict concerning the Content-Type header received when scraping.
level=DEBUG source=scrape.go:1465 msg="Append failed" component="scrape manager" scrape_pool=serviceMonitor/myproject/broker-metrics/0 target=http://10.217.0.100:8161/metrics/ err="non-compliant scrape target sending blank Content-Type and no fallback_scrape_protocol specified for target"
Please add header .
P.s
I know of a workaround - adding fallback_scrape_protocol to jobs
but I would not like to wait for it to be closed and solve the issue for good.
According to the documentation Prometheus v3 is more strict concerning the Content-Type header received when scraping.
level=DEBUG source=scrape.go:1465 msg="Append failed" component="scrape manager" scrape_pool=serviceMonitor/myproject/broker-metrics/0 target=http://10.217.0.100:8161/metrics/ err="non-compliant scrape target sending blank Content-Type and no fallback_scrape_protocol specified for target"Please add header .
P.s
I know of a workaround - adding fallback_scrape_protocol to jobs
but I would not like to wait for it to be closed and solve the issue for good.