Merge pull request #14660 from roidelapluie/customheaders

Add documentation for custom headers.
This commit is contained in:
Julien 2024-09-03 10:19:01 +02:00 committed by GitHub
commit 93f27409cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -307,6 +307,17 @@ tls_config:
[ proxy_connect_header: [ proxy_connect_header:
[ <string>: [<secret>, ...] ] ] [ <string>: [<secret>, ...] ] ]
# 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>, ...] ] ]
# List of Azure service discovery configurations. # List of Azure service discovery configurations.
azure_sd_configs: azure_sd_configs: