Skip to content

Commit

Permalink
doc(prom/scrape): correct reference for __param_ label in (grafana#…
Browse files Browse the repository at this point in the history
…6009)

* doc(prom/scrape): correct param label

Signed-off-by: hainenber <dotronghai96@gmail.com>

* chore(mod): go mod tidy

Signed-off-by: hainenber <dotronghai96@gmail.com>

---------

Signed-off-by: hainenber <dotronghai96@gmail.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
2 people authored and BarunKGP committed Feb 20, 2024
1 parent 2762f97 commit 1196cd7
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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_<name>` is a prefix for labels that provide URL parameters `<name>` used to scrape a target.

Special labels added after a scrape
* `__name__` is the label name indicating the metric name of a timeseries.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1196cd7

Please sign in to comment.