Skip to content

Odyssey problem with scrape V3 (Prometheus) #865

@culler127

Description

@culler127

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions