1
0
mirror of https://github.com/prometheus/alertmanager.git synced 2026-02-05 15:45:34 +01:00

Add documentation for custom headers

Signed-off-by: Frank Blanning <frank.blanning@noris.gr>
This commit is contained in:
Frank Blanning
2025-06-04 11:04:08 +03:00
parent 3e5da428e6
commit f7b8a8e16a

View File

@@ -818,6 +818,18 @@ oauth2:
# Configures the TLS settings.
tls_config:
[ <tls_config> ]
# Custom HTTP headers to be sent along with each request.
# Headers that are set by Prometheus itself can't be overwritten.
http_headers:
# Header name.
[ <string>:
# Header values.
[ values: [<string>, ...] ]
# Headers values. Hidden in configuration page.
[ secrets: [<secret>, ...] ]
# Files to read header values from.
[ files: [<string>, ...] ] ]
```
#### `<oauth2>`