prometheus/docs
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
..
command-line promtool: Add --remote-write.path for overriding push metrics url path (#19086) 2026-07-06 16:31:44 +10:00
configuration docs: remove unsupported http_headers from oauth2 configuration reference 2026-07-09 21:50:26 +05:30
images prometheus-agent-documentation 2024-07-27 14:21:24 +01:00
querying Merge pull request #18299 from kovan/docs/external-labels-remote-read 2026-07-07 12:53:31 +01:00
feature_flags.md Add histogram chunk encoding with Start Timestamp support (#18609) 2026-06-30 10:30:29 -07:00
federation.md feat(nh): mark native histograms as stable in docs 2025-10-24 12:31:42 +02:00
getting_started.md docs(): fix gettingStarted outdated graph reference 2025-09-15 17:31:18 +02:00
http_sd.md fix(discovery): delete expired refresh metrics on reload (#17614) 2026-04-02 13:43:35 +01:00
index.md Update Prometheus Agent doc (#17591) 2025-11-21 11:34:19 +01:00
installation.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
management_api.md Standardize doc page title handling 2025-05-28 21:37:27 +02:00
migration.md Merge pull request #16155 from LukoJy3D/docs/migration/clarify_on_content_type_headers 2026-03-31 12:58:48 +01:00
prometheus_agent.md fix(docs): typo in prometheus_agent.md doc 2026-02-08 19:02:56 +03:30
stability.md chore: exclude experimental /v1/ endpoints from stability guarantees 2025-08-12 16:45:17 +02:00
storage.md docs: clarify that compaction can temporarily exceed retention.size 2026-06-22 15:52:27 +05:30