Aliaksandr Valialkin
|
ec3943d14a
|
app/vmselect: small cleanup after 4f3f9950d0
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3807
|
2023-05-08 14:57:11 -07:00 |
|
Yury Molodov
|
4f3f9950d0
|
vmui: add metric relabel debug (#3889)
* feat: add metric relabel debug (#3807)
* fix: add link to relabeling cookbook
* lib/promrelabel: merge, fix conflicts
* lib/promrelabel: fix diff
* docs/vmui: add metric relabel playground
---------
Co-authored-by: dmitryk-dk <kozlovdmitriyy@gmail.com>
|
2023-04-26 11:53:29 +03:00 |
|
Aliaksandr Valialkin
|
1a28f0e5b3
|
lib/promrelabel: pass query args via query string at /metric-relabel-debug and /target-relabel-debug pages if their length doesnt exceed 1000
This allows copy-n-pasting the url to another browser window and seeing the same result.
The limit in 1000 chars is selected in order to prevent from potential issues with systems
which limit the url length such as Internet Explorer - see https://stackoverflow.com/questions/812925/what-is-the-maximum-possible-length-of-a-query-string
If the limit is exceeded, then query args are sent via POST method and aren't visible in the url.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3580
|
2023-01-05 16:48:04 -08:00 |
|
Aliaksandr Valialkin
|
0dea3b71da
|
lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3407
|
2023-01-05 03:26:49 -08:00 |
|
Aliaksandr Valialkin
|
5bca3a5be2
|
app/vmselect: remove dependency on lib/promscrape from app/vmselect
|
2023-01-03 23:28:27 -08:00 |
|
Aliaksandr Valialkin
|
65f8fc527f
|
lib/promscrape: stop dropping metric name if relabeling rules do not instruct to do this on the /metric-relabel-debug page
|
2022-12-16 17:02:41 -08:00 |
|
Aliaksandr Valialkin
|
a30ae502ef
|
lib/promscrape: allow editing relabeling configs and labels at /target-relabel-debug page
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3407
|
2022-12-10 12:44:45 -08:00 |
|
Aliaksandr Valialkin
|
a8b8e23d68
|
lib/promscrape: implement target-level and metric-level relabel debugging
Target-level debugging is performed by clicking the 'debug' link at the corresponding target
on either http://vmagent:8429/targets page or on http://vmagent:8428/service-discovery page.
Metric-level debugging is perfromed at http://vmagent:8429/metric-relabel-debug page.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3407
See https://docs.victoriametrics.com/vmagent.html#relabel-debug
|
2022-12-10 02:09:44 -08:00 |
|