From d113bc72c6966d36c85e2db023d0a6c0b2de39e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=E1=BB=97=20Tr=E1=BB=8Dng=20H=E1=BA=A3i?= <41283691+hainenber@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:54:32 +0700 Subject: [PATCH] doc(prom/scrape): correct reference for `__param_` label in (#6009) * doc(prom/scrape): correct param label Signed-off-by: hainenber * chore(mod): go mod tidy Signed-off-by: hainenber --------- Signed-off-by: hainenber Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com> --- docs/sources/flow/reference/components/prometheus.scrape.md | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/flow/reference/components/prometheus.scrape.md b/docs/sources/flow/reference/components/prometheus.scrape.md index cb86c6c9a8e8..08b009c88711 100644 --- a/docs/sources/flow/reference/components/prometheus.scrape.md +++ b/docs/sources/flow/reference/components/prometheus.scrape.md @@ -281,7 +281,7 @@ The following special labels can change the behavior of prometheus.scrape: * `__scheme__` is the name of the label that holds the scheme (http,https) on which to scrape a target. * `__scrape_interval__` is the name of the label that holds the scrape interval used to scrape a target. * `__scrape_timeout__` is the name of the label that holds the scrape timeout used to scrape a target. -* `__param__` is a prefix for labels that provide URL parameters used to scrape a target. +* `__param_` is a prefix for labels that provide URL parameters `` used to scrape a target. Special labels added after a scrape * `__name__` is the label name indicating the metric name of a timeseries. diff --git a/go.mod b/go.mod index 9e65fea46485..d4d337035920 100644 --- a/go.mod +++ b/go.mod @@ -541,7 +541,7 @@ require ( github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cast v1.5.1 // indirect github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect + github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.16.0 // indirect github.com/stretchr/objx v0.5.0 // indirect github.com/subosito/gotenv v1.4.2 // indirect