From 7345b400ff4cb337b9f989697bb8eb3b311516b5 Mon Sep 17 00:00:00 2001 From: Francois Steyn Date: Mon, 6 Feb 2023 17:52:51 +0100 Subject: [PATCH] docs(inputs.prometheus): fix incorrect headers option (#12625) --- plugins/inputs/prometheus/README.md | 2 +- plugins/inputs/prometheus/sample.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/prometheus/README.md b/plugins/inputs/prometheus/README.md index b486740c7..b1c0b6bab 100644 --- a/plugins/inputs/prometheus/README.md +++ b/plugins/inputs/prometheus/README.md @@ -123,7 +123,7 @@ See the [CONFIGURATION.md][CONFIGURATION.md] for more details. # password = "" ## Optional custom HTTP headers - # headers = {"X-Special-Header" = "Special-Value"} + # http_headers = {"X-Special-Header" = "Special-Value"} ## Specify timeout duration for slower prometheus clients (default is 3s) # response_timeout = "3s" diff --git a/plugins/inputs/prometheus/sample.conf b/plugins/inputs/prometheus/sample.conf index 39e8c8fbc..3ddee6be4 100644 --- a/plugins/inputs/prometheus/sample.conf +++ b/plugins/inputs/prometheus/sample.conf @@ -106,7 +106,7 @@ # password = "" ## Optional custom HTTP headers - # headers = {"X-Special-Header" = "Special-Value"} + # http_headers = {"X-Special-Header" = "Special-Value"} ## Specify timeout duration for slower prometheus clients (default is 3s) # response_timeout = "3s"