VictoriaMetrics/app/vmselect/prometheus
Nikolay 76d092c091 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 17:24:24 +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:08 +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:08 +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:27:49 +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:27:49 +03:00
label_values_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
label_values_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
labels_count_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
labels_count_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
labels_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
labels_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
prometheus.go Adds query stats handler (#945) 2020-12-25 17:24:24 +02:00
prometheus_test.go app/vmselect: initial implementation of Graphite Metrics API 2020-09-11 00:30:20 +03:00
query_range_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
query_range_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
query_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
query_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
series_count_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
series_count_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
series_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
series_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
tsdb_status_response.qtpl app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
tsdb_status_response.qtpl.go app/vmselect: propagate errors from vmstorage to response to the client if -search.denyPartialResponse command-line flag is set 2020-11-14 13:20:10 +02:00
util.qtpl app/vmselect/prometheus: minimize the diff for the change 1033dc7e2a over 619b0a25c9 2020-07-13 21:41:17 +03:00
util.qtpl.go app/vmselect/prometheus: minimize the diff for the change 1033dc7e2a over 619b0a25c9 2020-07-13 21:41:17 +03:00