mirror of
https://github.com/prometheus/prometheus.git
synced 2026-07-15 04:01:13 -04:00
The <oauth2> configuration reference lists an http_headers block, but the OAuth2 type in prometheus/common has no corresponding field (it embeds ProxyConfig, but not HTTPHeaders, unlike HTTPClientConfig). Because config is unmarshaled strictly, setting http_headers under an oauth2 block fails with "field http_headers not found in type config.plain", so the documentation advertises an option that cannot be used. Remove the http_headers block from the oauth2 reference. The proxy_* options above it remain, as OAuth2 does embed ProxyConfig. Fixes #19103 Signed-off-by: Akanksha Trehun <akankshatrehun@gmail.com> |
||
|---|---|---|
| .. | ||
| alerting_rules.md | ||
| configuration.md | ||
| https.md | ||
| index.md | ||
| promtool.md | ||
| recording_rules.md | ||
| template_examples.md | ||
| template_reference.md | ||
| unit_testing_rules.md | ||