mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
docs/Single-server-VictoriaMetrics.md: update link to JSON stream format, since the previous link became broken
This commit is contained in:
parent
1c39af56ab
commit
0edfa06daa
2 changed files with 2 additions and 2 deletions
|
@ -1047,7 +1047,7 @@ VictoriaMetrics provides the following handlers for exporting data:
|
||||||
Send a request to `http://<victoriametrics-addr>:8428/api/v1/export?match[]=<timeseries_selector_for_export>`,
|
Send a request to `http://<victoriametrics-addr>:8428/api/v1/export?match[]=<timeseries_selector_for_export>`,
|
||||||
where `<timeseries_selector_for_export>` may contain any [time series selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors)
|
where `<timeseries_selector_for_export>` 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.
|
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).
|
The response would contain all the data for the selected time series in [JSON streaming format](http://ndjson.org/).
|
||||||
Each JSON line contains samples for a single time series. An example output:
|
Each JSON line contains samples for a single time series. An example output:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
|
@ -1055,7 +1055,7 @@ VictoriaMetrics provides the following handlers for exporting data:
|
||||||
Send a request to `http://<victoriametrics-addr>:8428/api/v1/export?match[]=<timeseries_selector_for_export>`,
|
Send a request to `http://<victoriametrics-addr>:8428/api/v1/export?match[]=<timeseries_selector_for_export>`,
|
||||||
where `<timeseries_selector_for_export>` may contain any [time series selector](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors)
|
where `<timeseries_selector_for_export>` 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.
|
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).
|
The response would contain all the data for the selected time series in [JSON streaming format](http://ndjson.org/).
|
||||||
Each JSON line contains samples for a single time series. An example output:
|
Each JSON line contains samples for a single time series. An example output:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in a new issue