mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
update wiki pages
parent
e490917262
commit
b0b5f4041f
@ -85,7 +85,7 @@ More information:
|
|||||||
|
|
||||||
## /api/v1/import
|
## /api/v1/import
|
||||||
|
|
||||||
**Imports data obtained via /api/v1/export**
|
**Imports custom data as well as data obtained via /api/v1/export**
|
||||||
|
|
||||||
Single:
|
Single:
|
||||||
<div class="with-copy" markdown="1">
|
<div class="with-copy" markdown="1">
|
||||||
@ -105,6 +105,14 @@ curl --data-binary "@import.txt" -X POST 'http://<vminsert>:8480/insert/0/promet
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="with-copy" markdown="1">
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -d 'metric_name{foo="bar"} 123' -X POST 'http://<vminsert>:8480/insert/0/prometheus/api/v1/import/prometheus'
|
||||||
|
```
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
Additional information:
|
Additional information:
|
||||||
|
|
||||||
* [How to import time series data](https://docs.victoriametrics.com/#how-to-import-time-series-data)
|
* [How to import time series data](https://docs.victoriametrics.com/#how-to-import-time-series-data)
|
||||||
|
Loading…
Reference in New Issue
Block a user