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"