Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(prom/scrape): correct reference for __param_ label in #6009

Merged
merged 3 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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