Commit 99b78d6c authored by Jimmi Dyson's avatar Jimmi Dyson

Document __scheme__ & __metrics_path__ labels available in relabeling.

Fixes #153
parent f0a41f3c
...@@ -313,7 +313,8 @@ Initially, aside from the configured global and per-target labels, a target's `j ...@@ -313,7 +313,8 @@ Initially, aside from the configured global and per-target labels, a target's `j
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. it was not set during relabeling. The `__scheme__` and `__metrics_path__` labels
are set to the scheme and metrics path of the target respectively.
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment