mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
README.md: mention about -search.queryStats.lastQueriesCount
and -search.queryStats.minQueryDuration
command-line flags in docs about query stats
This commit is contained in:
parent
70df5f4975
commit
f6ca776c75
2 changed files with 4 additions and 0 deletions
|
@ -544,8 +544,10 @@ Additionally VictoriaMetrics provides the following handlers:
|
||||||
* the most frequently executed queries - `topByCount`
|
* the most frequently executed queries - `topByCount`
|
||||||
* queries with the biggest average execution duration - `topByAvgDuration`
|
* queries with the biggest average execution duration - `topByAvgDuration`
|
||||||
* queries that took the most time for execution - `topBySumDuration`
|
* queries that took the most time for execution - `topBySumDuration`
|
||||||
|
|
||||||
The number of returned queries can be limited via `topN` query arg. Old queries can be filtered out with `maxLifetime` query arg.
|
The number of returned queries can be limited via `topN` query arg. Old queries can be filtered out with `maxLifetime` query arg.
|
||||||
For example, request to `/api/v1/status/top_queries?topN=5&maxLifetime=30s` would return up to 5 queries per list, which were executed during the last 30 seconds.
|
For example, request to `/api/v1/status/top_queries?topN=5&maxLifetime=30s` would return up to 5 queries per list, which were executed during the last 30 seconds.
|
||||||
|
VictoriaMetrics tracks the last `-search.queryStats.lastQueriesCount` queries with durations at least `-search.queryStats.minQueryDuration`.
|
||||||
|
|
||||||
|
|
||||||
## Graphite API usage
|
## Graphite API usage
|
||||||
|
|
|
@ -544,8 +544,10 @@ Additionally VictoriaMetrics provides the following handlers:
|
||||||
* the most frequently executed queries - `topByCount`
|
* the most frequently executed queries - `topByCount`
|
||||||
* queries with the biggest average execution duration - `topByAvgDuration`
|
* queries with the biggest average execution duration - `topByAvgDuration`
|
||||||
* queries that took the most time for execution - `topBySumDuration`
|
* queries that took the most time for execution - `topBySumDuration`
|
||||||
|
|
||||||
The number of returned queries can be limited via `topN` query arg. Old queries can be filtered out with `maxLifetime` query arg.
|
The number of returned queries can be limited via `topN` query arg. Old queries can be filtered out with `maxLifetime` query arg.
|
||||||
For example, request to `/api/v1/status/top_queries?topN=5&maxLifetime=30s` would return up to 5 queries per list, which were executed during the last 30 seconds.
|
For example, request to `/api/v1/status/top_queries?topN=5&maxLifetime=30s` would return up to 5 queries per list, which were executed during the last 30 seconds.
|
||||||
|
VictoriaMetrics tracks the last `-search.queryStats.lastQueriesCount` queries with durations at least `-search.queryStats.minQueryDuration`.
|
||||||
|
|
||||||
|
|
||||||
## Graphite API usage
|
## Graphite API usage
|
||||||
|
|
Loading…
Reference in a new issue