mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Merge pull request #14673 from machine424/docdoccc
docs(configuration.md): clarify the explanations about some temp labe…
This commit is contained in:
commit
0a00d21cff
|
@ -3275,12 +3275,16 @@ Initially, aside from the configured per-target labels, a target's `job`
|
||||||
label is set to the `job_name` value of the respective scrape configuration.
|
label is set to the `job_name` value of the respective scrape configuration.
|
||||||
The `__address__` label is set to the `<host>:<port>` address of the target.
|
The `__address__` label is set to the `<host>:<port>` address of the target.
|
||||||
After relabeling, the `instance` label is set to the value of `__address__` by default if
|
After relabeling, the `instance` label is set to the value of `__address__` by default if
|
||||||
it was not set during relabeling. The `__scheme__` and `__metrics_path__` labels
|
it was not set during relabeling.
|
||||||
are set to the scheme and metrics path of the target respectively. The `__param_<name>`
|
|
||||||
label is set to the value of the first passed URL parameter called `<name>`.
|
The `__scheme__` and `__metrics_path__` labels
|
||||||
|
are set to the scheme and metrics path of the target respectively, as specified in `scrape_config`.
|
||||||
|
|
||||||
|
The `__param_<name>`
|
||||||
|
label is set to the value of the first passed URL parameter called `<name>`, as defined in `scrape_config`.
|
||||||
|
|
||||||
The `__scrape_interval__` and `__scrape_timeout__` labels are set to the target's
|
The `__scrape_interval__` and `__scrape_timeout__` labels are set to the target's
|
||||||
interval and timeout.
|
interval and timeout, as specified in `scrape_config`.
|
||||||
|
|
||||||
Additional labels prefixed with `__meta_` may be available during the
|
Additional labels prefixed with `__meta_` may be available during the
|
||||||
relabeling phase. They are set by the service discovery mechanism that provided
|
relabeling phase. They are set by the service discovery mechanism that provided
|
||||||
|
|
Loading…
Reference in a new issue