prometheus/docs/configuration
Akanksha Trehun e0438ebe24 docs: remove unsupported http_headers from oauth2 configuration reference
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>
2026-07-09 21:50:26 +05:30
..
alerting_rules.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
configuration.md docs: remove unsupported http_headers from oauth2 configuration reference 2026-07-09 21:50:26 +05:30
https.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
index.md Consolidate configuration and rules docs in docs/configuration/ 2017-10-27 09:54:02 +02:00
promtool.md chore: fix some minor issues in comments 2025-07-09 18:05:41 +08:00
recording_rules.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
template_examples.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
template_reference.md Add urlQueryEscape to template functions 2025-10-27 10:47:29 +01:00
unit_testing_rules.md Add start_timestamp field for unit tests. 2025-12-03 11:20:23 +01:00