diff --git a/scrape/scrape.go b/scrape/scrape.go index 866abdb5f..361d95956 100644 --- a/scrape/scrape.go +++ b/scrape/scrape.go @@ -748,7 +748,7 @@ type targetScraper struct { var errBodySizeLimit = errors.New("body size limit exceeded") -const acceptHeader = `application/openmetrics-text; version=0.0.1,text/plain;version=0.0.4;q=0.5,*/*;q=0.1` +const acceptHeader = `application/openmetrics-text;version=1.0.0,application/openmetrics-text;version=0.0.1;q=0.75,text/plain;version=0.0.4;q=0.5,*/*;q=0.1` var UserAgent = fmt.Sprintf("Prometheus/%s", version.Version)