From 412508c81de403d774bd954bd131d4c4400900db Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 5 Dec 2022 22:50:38 -0800 Subject: [PATCH] docs: follow-up for 7645d9ae007c6bd4aa931826299675f642662ce6 - Document the change at docs/CHANGELOG.md - Document the feature at https://docs.victoriametrics.com/#vmui Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3446 --- docs/CHANGELOG.md | 1 + docs/README.md | 4 +++- docs/Single-server-VictoriaMetrics.md | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 031b7baf2f..7f7886bb54 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -52,6 +52,7 @@ The following tip changes can be tested by building VictoriaMetrics components f * FEATURE: [vmctl](https://docs.victoriametrics.com/vmctl.html): add ability to migrate data between VictoriaMetrics clusters with automatic tenants discovery. See [these docs](https://docs.victoriametrics.com/vmctl.html#cluster-to-cluster-migration-mode) and [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2930). * FEATURE: [vmctl](https://docs.victoriametrics.com/vmctl.html): add ability to copy data from sources via Prometheus `remote_read` protocol. See [these docs](https://docs.victoriametrics.com/vmctl.html#migrating-data-by-remote-read-protocol). The related issues: [one](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3132) and [two](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1101). * FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): allow changing timezones for the requested data. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3075). +* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): provide fast path for hiding results for all the queries except the given one by clicking `eye` icon with `ctrl` key pressed. See [this feature request](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3446). * FEATURE: [MetricsQL](https://docs.victoriametrics.com/MetricsQL.html): add `range_trim_spikes(phi, q)` function for trimming `phi` percent of the largest spikes per each time series returned by `q`. See [these docs](https://docs.victoriametrics.com/MetricsQL.html#range_trim_spikes). * BUGFIX: [vmalert](https://docs.victoriametrics.com/vmalert.html): properly pass HTTP headers during the alert state restore procedure. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3418). diff --git a/docs/README.md b/docs/README.md index 7a716a12eb..c9d5f9ea95 100644 --- a/docs/README.md +++ b/docs/README.md @@ -276,7 +276,7 @@ It also provides the following features: - [query tracer](#query-tracing) - [top queries explorer](#top-queries) -Graphs in vmui support scrolling and zooming: +Graphs in `vmui` support scrolling and zooming: * Select the needed time range on the graph in order to zoom in into the selected time range. Hold `ctrl` (or `cmd` on MacOS) and scroll down in order to zoom out. * Hold `ctrl` (or `cmd` on MacOS) and scroll up in order to zoom in the area under cursor. @@ -294,6 +294,8 @@ VMUI allows investigating correlations between multiple queries on the same grap enter an additional query in the newly appeared input field and press `Enter`. Results for all the queries are displayed simultaneously on the same graph. Graphs for a particular query can be temporarily hidden by clicking the `eye` icon on the right side of the input field. +When the `eye` icon is clicked while holding the `ctrl` key, then query results for the rest of queries become hidden +except of the current query results. See the [example VMUI at VictoriaMetrics playground](https://play.victoriametrics.com/select/accounting/1/6a716b0f-38bc-4856-90ce-448fd713e3fe/prometheus/graph/?g0.expr=100%20*%20sum(rate(process_cpu_seconds_total))%20by%20(job)&g0.range_input=1d). diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 8fe2a4103f..aff18a8497 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -279,7 +279,7 @@ It also provides the following features: - [query tracer](#query-tracing) - [top queries explorer](#top-queries) -Graphs in vmui support scrolling and zooming: +Graphs in `vmui` support scrolling and zooming: * Select the needed time range on the graph in order to zoom in into the selected time range. Hold `ctrl` (or `cmd` on MacOS) and scroll down in order to zoom out. * Hold `ctrl` (or `cmd` on MacOS) and scroll up in order to zoom in the area under cursor. @@ -297,6 +297,8 @@ VMUI allows investigating correlations between multiple queries on the same grap enter an additional query in the newly appeared input field and press `Enter`. Results for all the queries are displayed simultaneously on the same graph. Graphs for a particular query can be temporarily hidden by clicking the `eye` icon on the right side of the input field. +When the `eye` icon is clicked while holding the `ctrl` key, then query results for the rest of queries become hidden +except of the current query results. See the [example VMUI at VictoriaMetrics playground](https://play.victoriametrics.com/select/accounting/1/6a716b0f-38bc-4856-90ce-448fd713e3fe/prometheus/graph/?g0.expr=100%20*%20sum(rate(process_cpu_seconds_total))%20by%20(job)&g0.range_input=1d).