diff --git a/plugins/inputs/prometheus/sample.conf b/plugins/inputs/prometheus/sample.conf index 6349fa304..34945169a 100644 --- a/plugins/inputs/prometheus/sample.conf +++ b/plugins/inputs/prometheus/sample.conf @@ -3,13 +3,9 @@ ## An array of urls to scrape metrics from. urls = ["http://localhost:9100/metrics"] - ## Metric version controls the mapping from Prometheus metrics into - ## Telegraf metrics. When using the prometheus_client output, use the same - ## value in both plugins to ensure metrics are round-tripped without - ## modification. - ## - ## example: metric_version = 1; - ## metric_version = 2; recommended version + ## Metric version controls the mapping from Prometheus metrics into Telegraf metrics. + ## See "Metric Format Configuration" in plugins/inputs/prometheus/README.md for details. + ## Valid options: 1, 2 # metric_version = 1 ## Url tag name (tag containing scrapped url. optional, default is "url") diff --git a/plugins/outputs/prometheus_client/sample.conf b/plugins/outputs/prometheus_client/sample.conf index 23118d5fb..762b25680 100644 --- a/plugins/outputs/prometheus_client/sample.conf +++ b/plugins/outputs/prometheus_client/sample.conf @@ -3,12 +3,9 @@ ## Address to listen on. listen = ":9273" - ## Metric version controls the mapping from Telegraf metrics into - ## Prometheus format. When using the prometheus input, use the same value in - ## both plugins to ensure metrics are round-tripped without modification. - ## - ## example: metric_version = 1; - ## metric_version = 2; recommended version + ## Metric version controls the mapping from Prometheus metrics into Telegraf metrics. + ## See "Metric Format Configuration" in plugins/inputs/prometheus/README.md for details. + ## Valid options: 1, 2 # metric_version = 1 ## Use HTTP Basic Authentication.