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 GitHub
parent 54de0531a4
commit 708a3ef276
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)