VictoriaMetrics/app/vmselect/prometheus
Nikolay 86630350bf
Adds query stats handler (#945)
* Adds query stat handler,
for query and query_range api, victoriametrics tracks query execution time,
stats are expored at /api/v1/status/queries endpoint with topN param
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/907

* fixed query stats bugs

* improves queryStats tracker

* improves query stat

* small fix

* fix tests

* added more tests

* fixes 386 tests

* naming fixes

* adds drop for outdated records
2020-12-25 16:42:05 +02:00
..
error_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
error_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
export.qtpl app/vmselect: add ability to export data in CSV format via /api/v1/export/csv 2020-10-12 20:08:17 +03:00
export.qtpl.go app/vmselect: add ability to export data in CSV format via /api/v1/export/csv 2020-10-12 20:08:17 +03:00
federate.qtpl all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
federate.qtpl.go all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
label_values_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
label_values_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
labels_count_response.qtpl app/vmselect: add /api/v1/labels/count handler for quick detection of labels with the maximum number of distinct values 2019-06-10 19:55:38 +03:00
labels_count_response.qtpl.go app/vmselect: add /api/v1/labels/count handler for quick detection of labels with the maximum number of distinct values 2019-06-10 19:55:38 +03:00
labels_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
labels_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
prometheus.go Adds query stats handler (#945) 2020-12-25 16:42:05 +02:00
prometheus_test.go app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:01 +03:00
query_range_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
query_range_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
query_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
query_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
series_count_response.qtpl all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
series_count_response.qtpl.go all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:23:23 +03:00
series_response.qtpl all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
series_response.qtpl.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tsdb_status_response.qtpl app/vmselect: add /api/v1/status/tsdb page with useful stats for locating root cause for high cardinality issues 2020-04-22 22:03:43 +03:00
tsdb_status_response.qtpl.go app/vmselect: add /api/v1/status/tsdb page with useful stats for locating root cause for high cardinality issues 2020-04-22 22:03:43 +03:00
util.qtpl app/vmselect/prometheus: minimize the diff for the change 1033dc7e2a over 619b0a25c9 2020-07-13 21:40:38 +03:00
util.qtpl.go app/vmselect/prometheus: minimize the diff for the change 1033dc7e2a over 619b0a25c9 2020-07-13 21:40:38 +03:00