diff --git a/docs/README.md b/docs/README.md index bcdc45b09e..371683916a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -998,7 +998,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/api/v1/export -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/api/v1/export -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/api/v1/export -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` Optional `max_rows_per_line` arg may be added to the request for limiting the maximum number of rows exported per each JSON line. @@ -1047,7 +1047,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/api/v1/export/csv -d 'format=' -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/api/v1/export/csv -d 'format=' -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/api/v1/export/csv -d 'format=' -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` The exported CSV data can be imported to VictoriaMetrics via [/api/v1/import/csv](#how-to-import-csv-data). @@ -1075,7 +1075,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/api/v1/export/native -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/api/v1/export/native -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/api/v1/export/native -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` The exported data can be imported to VictoriaMetrics via [/api/v1/import/native](#how-to-import-data-in-native-format). @@ -1314,7 +1314,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/federate -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/federate -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/federate -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` By default, the last point on the interval `[now - max_lookback ... now]` is scraped for each time series. The default value for `max_lookback` is `5m` (5 minutes), but it can be overridden with `max_lookback` query arg. For instance, `/federate?match[]=up&max_lookback=1h` would return last points on the `[now - 1h ... now]` interval. This may be useful for time series federation diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 6fcfc14c1c..d72a423141 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -1001,7 +1001,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/api/v1/export -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/api/v1/export -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/api/v1/export -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` Optional `max_rows_per_line` arg may be added to the request for limiting the maximum number of rows exported per each JSON line. @@ -1050,7 +1050,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/api/v1/export/csv -d 'format=' -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/api/v1/export/csv -d 'format=' -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/api/v1/export/csv -d 'format=' -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` The exported CSV data can be imported to VictoriaMetrics via [/api/v1/import/csv](#how-to-import-csv-data). @@ -1078,7 +1078,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/api/v1/export/native -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/api/v1/export/native -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/api/v1/export/native -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` The exported data can be imported to VictoriaMetrics via [/api/v1/import/native](#how-to-import-data-in-native-format). @@ -1317,7 +1317,7 @@ See [allowed formats](#timestamp-formats) for these args. For example: ```console curl http://:8428/federate -d 'match[]=' -d 'start=1654543486' -d 'end=1654543486' -curl http://:8428/federate -d 'match[]=' -d 'start=2022-06-06T19:25:48+00:00' -d 'end=2022-06-06T19:29:07+00:00' +curl http://:8428/federate -d 'match[]=' -d 'start=2022-06-06T19:25:48' -d 'end=2022-06-06T19:29:07' ``` By default, the last point on the interval `[now - max_lookback ... now]` is scraped for each time series. The default value for `max_lookback` is `5m` (5 minutes), but it can be overridden with `max_lookback` query arg. For instance, `/federate?match[]=up&max_lookback=1h` would return last points on the `[now - 1h ... now]` interval. This may be useful for time series federation