From e7028aff12de162f7e0852cc0bf7057d53e7f398 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Thu, 19 Oct 2023 19:57:57 +0200 Subject: [PATCH 1/2] docs: Add label to prometheus.exporter.unix Ref: #5361 --- .../flow/reference/components/prometheus.exporter.unix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/flow/reference/components/prometheus.exporter.unix.md b/docs/sources/flow/reference/components/prometheus.exporter.unix.md index 74bea7db7459..a63506b629ae 100644 --- a/docs/sources/flow/reference/components/prometheus.exporter.unix.md +++ b/docs/sources/flow/reference/components/prometheus.exporter.unix.md @@ -21,7 +21,7 @@ enabled and disabled at will. For more information on collectors, refer to the ## Usage ```river -prometheus.exporter.unix { +prometheus.exporter.unix "LABEL" { } ``` From f17888ad5ee0ac0758cfab80c535589785bb57e8 Mon Sep 17 00:00:00 2001 From: Paschalis Tsilias Date: Thu, 19 Oct 2023 22:03:46 +0300 Subject: [PATCH 2/2] Update docs/sources/flow/reference/components/prometheus.exporter.unix.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jan-Otto Kröpke --- .../flow/reference/components/prometheus.exporter.unix.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sources/flow/reference/components/prometheus.exporter.unix.md b/docs/sources/flow/reference/components/prometheus.exporter.unix.md index a63506b629ae..95f3ce6f9993 100644 --- a/docs/sources/flow/reference/components/prometheus.exporter.unix.md +++ b/docs/sources/flow/reference/components/prometheus.exporter.unix.md @@ -18,6 +18,9 @@ The `node_exporter` itself is comprised of various _collectors_, which can be enabled and disabled at will. For more information on collectors, refer to the [`collectors-list`](#collectors-list) section. + +Multiple `prometheus.exporter.unix` components can be specified by giving them different labels. + ## Usage ```river