Skip to content

Commit

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

Signed-off-by: hainenber <[email protected]>

* chore(mod): go mod tidy

Signed-off-by: hainenber <[email protected]>

---------

Signed-off-by: hainenber <[email protected]>
Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
hainenber and clayton-cornell authored Dec 19, 2023
1 parent ea9dfdc commit d113bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d113bc7

Please sign in to comment.