mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08:00
docs(configuration.md): clarify the explanations about some temp labels and format for better visibility.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
This commit is contained in:
parent
d1ea6eb35d
commit
88cac6fb49
|
@ -3265,12 +3265,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