Make Proxy Connect Headers consistent with Prometheus
authorJulien Pivotto <roidelapluie@o11y.eu>
Fri, 16 Dec 2022 12:32:14 +0000 (13:32 +0100)
committerJulien Pivotto <roidelapluie@o11y.eu>
Fri, 16 Dec 2022 12:32:14 +0000 (13:32 +0100)
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
CONFIGURATION.md

index a99202f56396db2d63a9b6bbddde5a42c0bae1ee..5c9eaa4f6dd4af7c816e6e7c698b30a5e270e289 100644 (file)
@@ -113,12 +113,9 @@ The other placeholders are specified separately.
 
   # HTTP proxy server to use to connect to the targets.
   [ proxy_url: <string> ]
-
-  # Headers to pass to the HTTP proxy. If set, proxy_url must also be set.
-  [ proxy_connect_header:
-      <string>: <string> ...
-      ...
-  ]
+  # Specifies headers to send to proxies during CONNECT requests.
+  [ proxy_connect_headers:
+    [ <string>: [<secret>, ...] ] ]
 
   # Skip DNS resolution and URL change when an HTTP proxy (proxy_url) is set.
   [ skip_resolve_phase_with_proxy: <boolean> | default = false ]