Content-Type header for Prometheus 3.0.0 #1967
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Is your feature request related to a problem? Please describe.
Prometheus 3.0.0 has the option (by default) to be far more strict about what content it scrapes. This can cause unexpected scrape failures for the prometheus exporter.
Describe the solution you'd like
Set the header "to the correct value".
Describe alternatives you've considered
If a scrape target is not providing the correct Content-Type header the fallback protocol can be specified using the fallback_scrape_protocol parameter.
Additional context
From : https://prometheus.io/docs/prometheus/3.0/migration/
The text was updated successfully, but these errors were encountered: