From c121608205f1ee3122cb9ca420ad597d1d8f6a77 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 12 Dec 2019 14:48:30 +0200 Subject: [PATCH] README.md: mention that `{__name__!=""}` selects all the time series in `/api/v1/export` --- README.md | 3 ++- docs/Single-server-VictoriaMetrics.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58c4fdc43..c635903b7 100644 --- a/README.md +++ b/README.md @@ -520,7 +520,8 @@ before actually deleting the metrics. Send a request to `http://:8428/api/v1/export?match[]=`, where `` may contain any [time series selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors) -for metrics to export. The response would contain all the data for the selected time series in [JSON streaming format](https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON). +for metrics to export. Use `{__name__!=""}` selector for fetching all the time series. +The response would contain all the data for the selected time series in [JSON streaming format](https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON). Each JSON line would contain data for a single time series. An example output: ``` diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 0c9acc487..241af1b33 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -510,7 +510,8 @@ before actually deleting the metrics. Send a request to `http://:8428/api/v1/export?match[]=`, where `` may contain any [time series selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors) -for metrics to export. The response would contain all the data for the selected time series in [JSON streaming format](https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON). +for metrics to export. Use `{__name__!=""}` selector for fetching all the time series. +The response would contain all the data for the selected time series in [JSON streaming format](https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON). Each JSON line would contain data for a single time series. An example output: ```