mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
README.md: mention that response cache must be reset after import historical data
This commit is contained in:
parent
b699c46046
commit
16572c8722
@ -476,6 +476,8 @@ The following response should be returned:
|
|||||||
{"metric":{"__name__":"ask","market":"NYSE","ticker":"GOOG"},"values":[1.23],"timestamps":[1583865146495]}
|
{"metric":{"__name__":"ask","market":"NYSE","ticker":"GOOG"},"values":[1.23],"timestamps":[1583865146495]}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that it could be required to flush response cache after importing historical data. See [these docs](#backfilling) for detail.
|
||||||
|
|
||||||
|
|
||||||
### Prometheus querying API usage
|
### Prometheus querying API usage
|
||||||
|
|
||||||
@ -677,6 +679,8 @@ curl -H 'Accept-Encoding: gzip' http://source-victoriametrics:8428/api/v1/export
|
|||||||
curl -X POST -H 'Content-Encoding: gzip' http://destination-victoriametrics:8428/api/v1/import -T exported_data.jsonl.gz
|
curl -X POST -H 'Content-Encoding: gzip' http://destination-victoriametrics:8428/api/v1/import -T exported_data.jsonl.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that it could be required to flush response cache after importing historical data. See [these docs](#backfilling) for detail.
|
||||||
|
|
||||||
Each request to `/api/v1/import` can load up to a single vCPU core on VictoriaMetrics. Import speed can be improved by splitting the original file into smaller parts
|
Each request to `/api/v1/import` can load up to a single vCPU core on VictoriaMetrics. Import speed can be improved by splitting the original file into smaller parts
|
||||||
and importing them concurrently. Note that the original file must be split on newlines.
|
and importing them concurrently. Note that the original file must be split on newlines.
|
||||||
|
|
||||||
|
@ -466,6 +466,8 @@ The following response should be returned:
|
|||||||
{"metric":{"__name__":"ask","market":"NYSE","ticker":"GOOG"},"values":[1.23],"timestamps":[1583865146495]}
|
{"metric":{"__name__":"ask","market":"NYSE","ticker":"GOOG"},"values":[1.23],"timestamps":[1583865146495]}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that it could be required to flush response cache after importing historical data. See [these docs](#backfilling) for detail.
|
||||||
|
|
||||||
|
|
||||||
### Prometheus querying API usage
|
### Prometheus querying API usage
|
||||||
|
|
||||||
@ -667,6 +669,8 @@ curl -H 'Accept-Encoding: gzip' http://source-victoriametrics:8428/api/v1/export
|
|||||||
curl -X POST -H 'Content-Encoding: gzip' http://destination-victoriametrics:8428/api/v1/import -T exported_data.jsonl.gz
|
curl -X POST -H 'Content-Encoding: gzip' http://destination-victoriametrics:8428/api/v1/import -T exported_data.jsonl.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that it could be required to flush response cache after importing historical data. See [these docs](#backfilling) for detail.
|
||||||
|
|
||||||
Each request to `/api/v1/import` can load up to a single vCPU core on VictoriaMetrics. Import speed can be improved by splitting the original file into smaller parts
|
Each request to `/api/v1/import` can load up to a single vCPU core on VictoriaMetrics. Import speed can be improved by splitting the original file into smaller parts
|
||||||
and importing them concurrently. Note that the original file must be split on newlines.
|
and importing them concurrently. Note that the original file must be split on newlines.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user