telegraf/plugins
Joshua Powers 596b0e149b
fix: Remove any content type from prometheus accept header (#11082)
In #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, #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: #10248
2022-05-24 15:11:17 +02:00
..
aggregators chore(aggregators): migrate sample configs into separate files (#11130) 2022-05-18 11:29:55 -05:00
common feat(outputs.http): Support configuration of `MaxIdleConns` and `MaxIdleConnsPerHost` (#10954) 2022-04-27 15:24:27 -05:00
inputs fix: Remove any content type from prometheus accept header (#11082) 2022-05-24 15:11:17 +02:00
outputs test: update mongodb output to use test containers (#11137) 2022-05-19 14:14:02 -06:00
parsers feat: do not error if no nodes found for current config with xpath parser (#11102) 2022-05-19 09:00:23 -06:00
processors chore(processors): migrate sample configs into separate files (#11125) 2022-05-18 11:29:43 -05:00
serializers refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00