mirror of
https://github.com/prometheus/prometheus.git
synced 2026-07-10 17:52:33 -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> |
||
|---|---|---|
| .. | ||
| command-line | ||
| configuration | ||
| images | ||
| querying | ||
| feature_flags.md | ||
| federation.md | ||
| getting_started.md | ||
| http_sd.md | ||
| index.md | ||
| installation.md | ||
| management_api.md | ||
| migration.md | ||
| prometheus_agent.md | ||
| stability.md | ||
| storage.md | ||