mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: [vmagent] Added GIF to relabel debug
This commit is contained in:
parent
b8b6c565f4
commit
e8e90c6210
3 changed files with 4 additions and 0 deletions
BIN
docs/metrics-relabeling.gif
Normal file
BIN
docs/metrics-relabeling.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 486 KiB |
BIN
docs/target-relabeling.gif
Normal file
BIN
docs/target-relabeling.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 619 KiB |
|
@ -804,12 +804,16 @@ provide the following tools for debugging target-level and metric-level relabeli
|
||||||
and click the `debug` link there. The link is unavailable if `vmagent` runs with `-promscrape.dropOriginalLabels` command-line flag.
|
and click the `debug` link there. The link is unavailable if `vmagent` runs with `-promscrape.dropOriginalLabels` command-line flag.
|
||||||
The opened page shows step-by-step results for the actual relabeling rules, which result to target drop.
|
The opened page shows step-by-step results for the actual relabeling rules, which result to target drop.
|
||||||
|
|
||||||
|
![Target-level debugging](target-relabeling.gif)
|
||||||
|
|
||||||
- Metric-level debugging (e.g. `metric_relabel_configs` section at [scrape_configs](https://docs.victoriametrics.com/sd_configs/#scrape_configs)
|
- Metric-level debugging (e.g. `metric_relabel_configs` section at [scrape_configs](https://docs.victoriametrics.com/sd_configs/#scrape_configs)
|
||||||
can be performed by navigating to `http://vmagent:8429/targets` page (`http://victoriametrics:8428/targets` page for single-node VictoriaMetrics)
|
can be performed by navigating to `http://vmagent:8429/targets` page (`http://victoriametrics:8428/targets` page for single-node VictoriaMetrics)
|
||||||
and clicking the `debug metrics relabeling` link at the target, which must be debugged.
|
and clicking the `debug metrics relabeling` link at the target, which must be debugged.
|
||||||
The link is unavailable if `vmagent` runs with `-promscrape.dropOriginalLabels` command-line flag.
|
The link is unavailable if `vmagent` runs with `-promscrape.dropOriginalLabels` command-line flag.
|
||||||
The opened page shows step-by-step results for the actual metric relabeling rules applied to the given target labels.
|
The opened page shows step-by-step results for the actual metric relabeling rules applied to the given target labels.
|
||||||
|
|
||||||
|
![Metric-level debugging](metrics-relabeling.gif)
|
||||||
|
|
||||||
See also [debugging scrape targets](#debugging-scrape-targets).
|
See also [debugging scrape targets](#debugging-scrape-targets).
|
||||||
|
|
||||||
## Debugging scrape targets
|
## Debugging scrape targets
|
||||||
|
|
Loading…
Reference in a new issue