From d5636603c00e5bed87f1f735c9a7288048f74cba Mon Sep 17 00:00:00 2001 From: Vika Date: Fri, 8 Oct 2021 12:10:27 +0000 Subject: [PATCH] update wiki pages --- CHANGELOG.md | 2 +- README.md | 11 ++++++++++- Single-server-VictoriaMetrics.md | 11 ++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2570272..37f6496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,11 @@ sort: 15 * FEATURE: add ability to accept metrics from [DataDog agent](https://docs.datadoghq.com/agent/) and [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/). See [these docs](https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html#how-to-send-data-from-datadog-agent). This option simplifies the migration path from DataDog to VictoriaMetrics. See also [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/206). * FEATURE: vmagent [enterprise](https://victoriametrics.com/enterprise.html): add support for data reading and writing from/to [Apache Kafka](https://kafka.apache.org/). See [these docs](https://docs.victoriametrics.com/vmagent.html#kafka-integration). +* FEATURE: vmui: switch to [μPlot](https://github.com/leeoniya/uPlot) and add ability to naturally scroll and zoom graphs. See [these docs](https://docs.victoriametrics.com/#vmui). Thanks to @Loori-R. * FEATURE: vmstorage: stop accepting new data if `-storageDataPath` directory contains less than `-storage.minFreeDiskSpaceBytes` of free space. This should prevent from `out of disk space` crashes. See [this feature request](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/269). * FEATURE: calculate quantiles in the same way as Prometheus does in such functions as [quantile_over_time](https://docs.victoriametrics.com/MetricsQL.html#quantile_over_time) and [quantile](https://docs.victoriametrics.com/MetricsQL.html#quantile). Previously results from VictoriaMetrics could be slightly different than results from Prometheus. See [this](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1625) and [this](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1612) issues. * FEATURE: add `rollup_scrape_interval(m[d])` function to [MetricsQL](https://docs.victoriametrics.com/MetricsQL.html), which returns `min`, `max` and `avg` values for the interval between samples for `m` on the given lookbehind window `d`. * FEATURE: add `topk_last(k, q)` and `bottomk_last(k, q)` functions to [MetricsQL](https://docs.victoriametrics.com/MetricsQL.html), which return up to `k` time series from `q` with the maximum / minimum last value on the graph. -* FEATURE: vmui: add ability to naturally scroll and zoom graphs. See [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/1634). * BUGFIX: align behavior of the queries `a or on (labels) b`, `a and on (labels) b` and `a unless on (labels) b` where `b` has multiple time series with the given `labels` to Prometheus behavior. See [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/1643). * BUGFIX: vmagent: fix `openstack_sd_config` service discovery when both `domain_name` and `project_id` config options are set. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1655). diff --git a/README.md b/README.md index 0040853..bc947e1 100644 --- a/README.md +++ b/README.md @@ -525,7 +525,7 @@ By default, VictoriaMetrics returns time series for the last 5 minutes from `/ap Additionally VictoriaMetrics provides the following handlers: -* `/vmui` - Basic Web UI +* `/vmui` - Basic Web UI. See [these docs](#vmui). * `/api/v1/series/count` - returns the total number of time series in the database. Some notes: * the handler scans all the inverted index, so it can be slow if the database contains tens of millions of time series; * the handler may count [deleted time series](#how-to-delete-time-series) additionally to normal time series due to internal implementation restrictions; @@ -596,6 +596,15 @@ VictoriaMetrics supports the following handlers from [Graphite Tags API](https:/ * [/tags/delSeries](https://graphite.readthedocs.io/en/stable/tags.html#removing-series-from-the-tagdb) +## vmui + +VictoriaMetrics provides UI for query troubleshooting and exploration. The UI is available at `http://victoriametrics:8428/vmui`. +The UI allows exploring query results via graphs and tables. Graphs support scrolling and zooming: + +* Drag the graph to the left / right in order to move the displayed time range into the past / future. +* Hold `Ctrl` (or `Cmd` on MacOS) and scroll up / down in order to zoom in / out the graph. + + ## How to build from sources We recommend using either [binary releases](https://github.com/VictoriaMetrics/VictoriaMetrics/releases) or diff --git a/Single-server-VictoriaMetrics.md b/Single-server-VictoriaMetrics.md index 97a88ba..94f8cbc 100644 --- a/Single-server-VictoriaMetrics.md +++ b/Single-server-VictoriaMetrics.md @@ -529,7 +529,7 @@ By default, VictoriaMetrics returns time series for the last 5 minutes from `/ap Additionally VictoriaMetrics provides the following handlers: -* `/vmui` - Basic Web UI +* `/vmui` - Basic Web UI. See [these docs](#vmui). * `/api/v1/series/count` - returns the total number of time series in the database. Some notes: * the handler scans all the inverted index, so it can be slow if the database contains tens of millions of time series; * the handler may count [deleted time series](#how-to-delete-time-series) additionally to normal time series due to internal implementation restrictions; @@ -600,6 +600,15 @@ VictoriaMetrics supports the following handlers from [Graphite Tags API](https:/ * [/tags/delSeries](https://graphite.readthedocs.io/en/stable/tags.html#removing-series-from-the-tagdb) +## vmui + +VictoriaMetrics provides UI for query troubleshooting and exploration. The UI is available at `http://victoriametrics:8428/vmui`. +The UI allows exploring query results via graphs and tables. Graphs support scrolling and zooming: + +* Drag the graph to the left / right in order to move the displayed time range into the past / future. +* Hold `Ctrl` (or `Cmd` on MacOS) and scroll up / down in order to zoom in / out the graph. + + ## How to build from sources We recommend using either [binary releases](https://github.com/VictoriaMetrics/VictoriaMetrics/releases) or