diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index 0739969a3..2552ca7ef 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Go uses: actions/setup-go@main with: - go-version: 1.18 + go-version: 1.19.1 id: go - name: Code checkout uses: actions/checkout@master diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eb198e314..4d1c98b7a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Go uses: actions/setup-go@main with: - go-version: 1.18 + go-version: 1.19.1 id: go - name: Code checkout uses: actions/checkout@master diff --git a/Makefile b/Makefile index 273da5252..f2d78468d 100644 --- a/Makefile +++ b/Makefile @@ -169,9 +169,7 @@ publish-release: git checkout $(TAG) && $(MAKE) release publish && \ git checkout $(TAG)-cluster && $(MAKE) release publish && \ git checkout $(TAG)-enterprise && $(MAKE) release publish && \ - git checkout $(TAG)-enterprise-cluster && $(MAKE) release publish && \ - $(MAKE) github-create-release && \ - $(MAKE) github-upload-assets + git checkout $(TAG)-enterprise-cluster && $(MAKE) release publish release: \ release-victoria-metrics \ @@ -366,7 +364,7 @@ benchmark-pure: vendor-update: go get -u -d ./lib/... go get -u -d ./app/... - go mod tidy -compat=1.18 + go mod tidy -compat=1.19.1 go mod vendor app-local: diff --git a/README.md b/README.md index 090d1eddd..be34a205e 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,10 @@ Prometheus doesn't drop data during VictoriaMetrics restart. See [this article]( 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. -It also provides the ability to [explore cardinality](#cardinality-explorer) and to [investigate query traces](#query-tracing). +It also provides the following features: +- [cardinality explorer](#cardinality-explorer) +- [query tracer](#query-tracing) +- [top queries explorer](#top-queries) Graphs in vmui support scrolling and zooming: @@ -280,6 +283,13 @@ VMUI allows investigating correlations between two queries on the same graph. Ju 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). +## Top queries + +[VMUI](#vmui) provides `top queries` tab, which can help determining the following query types: + +* the most frequently executed queries; +* queries with the biggest average execution duration; +* queries that took the most summary time for execution. ## Cardinality explorer @@ -329,11 +339,11 @@ See also [vmagent](https://docs.victoriametrics.com/vmagent.html), which can be VictoriaMetrics accepts data from [DataDog agent](https://docs.datadoghq.com/agent/) or [DogStatsD](https://docs.datadoghq.com/developers/dogstatsd/) via ["submit metrics" API](https://docs.datadoghq.com/api/latest/metrics/#submit-metrics) at `/datadog/api/v1/series` path. -Single-node VictoriaMetrics: +### Single-node VictoriaMetrics: Run DataDog agent with environment variable `DD_DD_URL=http://victoriametrics-host:8428/datadog`. Alternatively, set `dd_url` param at [DataDog agent configuration file](https://docs.datadoghq.com/agent/guide/agent-configuration-files/) to `http://victoriametrics-host:8428/datadog`. -Cluster version of VictoriaMetrics: +### Cluster version of VictoriaMetrics: Run DataDog agent with environment variable `DD_DD_URL=http://vinsert-host:8480/insert/0/datadog`. Alternatively, set `dd_url` param at [DataDog agent configuration file](https://docs.datadoghq.com/agent/guide/agent-configuration-files/) to `DD_DD_URL=http://vinsert-host:8480/insert/0/datadog`. @@ -341,7 +351,7 @@ VictoriaMetrics doesn't check `DD_API_KEY` param, so it can be set to arbitrary Example of how to send data to VictoriaMetrics via [DataDog "submit metrics"](https://docs.victoriametrics.com/url-examples.html#datadogapiv1series) from command line: -Single-node VictoriaMetrics: +### Single-node VictoriaMetrics: ```console echo ' @@ -365,7 +375,7 @@ echo ' ' | curl -X POST --data-binary @- http://victoriametrics-host:8428/datadog/api/v1/series ``` -Cluster version of VictoriaMetrics: +### Cluster version of VictoriaMetrics:
{%s r.Query %}
@@ -116,7 +118,7 @@
{% else %}
No items...
+No groups...
No items...
+No active alerts...
No items...
+No targets...
{%s rule.Query %}
+ {%s rule.Annotations[k] %}
+ {% endfor %} +