url-examples.md (#2435)

* url-examples.md

added 1 more example

* Update url-examples.md
This commit is contained in:
Yurii Kravets 2022-04-12 11:27:17 +03:00 committed by Aliaksandr Valialkin
parent 81b7a31cb1
commit e5b8a5210e
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -85,7 +85,7 @@ More information:
## /api/v1/import
**Imports data obtained via /api/v1/export**
**Imports custom data as well as data obtained via /api/v1/export**
Single:
<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 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:
* [How to import time series data](https://docs.victoriametrics.com/#how-to-import-time-series-data)