From d6365604834933412217a06400924a5e9a3315c3 Mon Sep 17 00:00:00 2001 From: Sven Rebhan <36194019+srebhan@users.noreply.github.com> Date: Thu, 28 Sep 2023 16:33:28 +0200 Subject: [PATCH] docs(outputs.prometheus_client): Fix metric-type parameter naming (#14013) --- plugins/outputs/prometheus_client/README.md | 2 +- plugins/outputs/prometheus_client/sample.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/outputs/prometheus_client/README.md b/plugins/outputs/prometheus_client/README.md index edf04134d..74a72a020 100644 --- a/plugins/outputs/prometheus_client/README.md +++ b/plugins/outputs/prometheus_client/README.md @@ -73,7 +73,7 @@ to use them. ## Specify the metric type explicitly. ## This overrides the metric-type of the Telegraf metric. Globbing is allowed. - # [outputs.prometheus_client.prometheus_metric_types] + # [outputs.prometheus_client.metric_types] # counter = [] # gauge = [] ``` diff --git a/plugins/outputs/prometheus_client/sample.conf b/plugins/outputs/prometheus_client/sample.conf index e6d65b940..2e23d60ca 100644 --- a/plugins/outputs/prometheus_client/sample.conf +++ b/plugins/outputs/prometheus_client/sample.conf @@ -48,6 +48,6 @@ ## Specify the metric type explicitly. ## This overrides the metric-type of the Telegraf metric. Globbing is allowed. - # [outputs.prometheus_client.prometheus_metric_types] + # [outputs.prometheus_client.metric_types] # counter = [] # gauge = []