From 35242831f52b6847d3ed6f703f8da450a747e8d8 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 3 Feb 2021 20:39:09 +0200 Subject: [PATCH] docs/Single-server-VictoriaMetrics.md: remove misleading section about native format in `How to export data in JSON line format` chapter --- README.md | 5 +---- docs/Single-server-VictoriaMetrics.md | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a88aec20b..2107f4cb3 100644 --- a/README.md +++ b/README.md @@ -812,10 +812,7 @@ The exported data can be imported to VictoriaMetrics via [/api/v1/import/native] ### How to export data in JSON line format -Consider [exporting data in native format](#how-to-export-data-in-native-format) if big amounts of data must be migrated between VictoriaMetrics instances, -since exporting in native format usually consumes lower amounts of CPU and memory resources, while the resulting exported data occupies lower amounts of disk space. - -In order to export data in JSON line format, send a request to `http://:8428/api/v1/export?match[]=`, +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. 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). diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index a88aec20b..2107f4cb3 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -812,10 +812,7 @@ The exported data can be imported to VictoriaMetrics via [/api/v1/import/native] ### How to export data in JSON line format -Consider [exporting data in native format](#how-to-export-data-in-native-format) if big amounts of data must be migrated between VictoriaMetrics instances, -since exporting in native format usually consumes lower amounts of CPU and memory resources, while the resulting exported data occupies lower amounts of disk space. - -In order to export data in JSON line format, send a request to `http://:8428/api/v1/export?match[]=`, +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. 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).