Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove any content type from prometheus accept header #11082

Merged
merged 1 commit into from
May 24, 2022

Commits on May 11, 2022

  1. fix: remove any content type from prometheus accept header

    In influxdata#6745, the prometheus accept header was changed to accept any media
    type. However, our prometheus plugin only accepts text. With the release
    of newer versions of prometheus, the OpenMetrics type is now available
    and could potentially be setup as the exclusive response type. As this
    new content type is not supported, Telegraf should not accept it.
    
    The original issue, influxdata#6523, was filed around getting a 406. The issue had
    comments from the rabbit-mq maintainers who made changes to their code
    to be less regid resolving the issue. The change to telegraf was made
    afterwards anyway.
    
    fixes: influxdata#10248
    powersj committed May 11, 2022
    Configuration menu
    Copy the full SHA
    d33b0a9 View commit details
    Browse the repository at this point in the history