mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs/Single-server-VictoriaMetrics.md: document that /api/v1/series/count may count delete time series
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/770
This commit is contained in:
parent
ab53cb6f7b
commit
8674963f6a
@ -587,8 +587,9 @@ See [this feature request](https://github.com/prometheus/prometheus/issues/6178)
|
|||||||
|
|
||||||
Additionally VictoriaMetrics provides the following handlers:
|
Additionally VictoriaMetrics provides the following handlers:
|
||||||
|
|
||||||
* `/api/v1/series/count` - it returns the total number of time series in the database. Note that this handler scans all the inverted index,
|
* `/api/v1/series/count` - it returns the total number of time series in the database. Some notes:
|
||||||
so it can be slow if the database contains tens of millions of time series.
|
* 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;
|
||||||
* `/api/v1/labels/count` - it returns a list of `label: values_count` entries. It can be used for determining labels with the maximum number of values.
|
* `/api/v1/labels/count` - it returns a list of `label: values_count` entries. It can be used for determining labels with the maximum number of values.
|
||||||
* `/api/v1/status/active_queries` - it returns a list of currently running queries.
|
* `/api/v1/status/active_queries` - it returns a list of currently running queries.
|
||||||
|
|
||||||
|
@ -587,8 +587,9 @@ See [this feature request](https://github.com/prometheus/prometheus/issues/6178)
|
|||||||
|
|
||||||
Additionally VictoriaMetrics provides the following handlers:
|
Additionally VictoriaMetrics provides the following handlers:
|
||||||
|
|
||||||
* `/api/v1/series/count` - it returns the total number of time series in the database. Note that this handler scans all the inverted index,
|
* `/api/v1/series/count` - it returns the total number of time series in the database. Some notes:
|
||||||
so it can be slow if the database contains tens of millions of time series.
|
* 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;
|
||||||
* `/api/v1/labels/count` - it returns a list of `label: values_count` entries. It can be used for determining labels with the maximum number of values.
|
* `/api/v1/labels/count` - it returns a list of `label: values_count` entries. It can be used for determining labels with the maximum number of values.
|
||||||
* `/api/v1/status/active_queries` - it returns a list of currently running queries.
|
* `/api/v1/status/active_queries` - it returns a list of currently running queries.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user