From 8186196db6aa3931a0197ecdd163265db30aeac0 Mon Sep 17 00:00:00 2001 From: Mischa Thompson Date: Mon, 16 Oct 2023 11:52:09 -0700 Subject: [PATCH] Add missing row for labels argument inside target block (#5480) Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> --- .../components/prometheus.exporter.blackbox.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/sources/flow/reference/components/prometheus.exporter.blackbox.md b/docs/sources/flow/reference/components/prometheus.exporter.blackbox.md index 4a323cd53f4b..d99b734b1163 100644 --- a/docs/sources/flow/reference/components/prometheus.exporter.blackbox.md +++ b/docs/sources/flow/reference/components/prometheus.exporter.blackbox.md @@ -57,10 +57,13 @@ The following blocks are supported inside the definition of The `target` block defines an individual blackbox target. The `target` block may be specified multiple times to define multiple targets. The label of the block is required and will be used in the target's `job` label. -| Name | Type | Description | Default | Required | -| --------- | -------- | ----------------------------------- | ------- | -------- | -| `address` | `string` | The address of the target to probe. | | yes | -| `module` | `string` | Blackbox module to use to probe. | `""` | no | +| Name | Type | Description | Default | Required | +| --------- | ---------------- | ----------------------------------- | ------- | -------- | +| `address` | `string` | The address of the target to probe. | | yes | +| `module` | `string` | Blackbox module to use to probe. | `""` | no | +| `labels` | `map(string)` | Labels to add to the target. | | no | + +Labels specified in the `labels` argument will not override labels set by `blackbox_exporter`. ## Exported fields