mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
url-examples.md (#2435)
* url-examples.md added 1 more example * Update url-examples.md
This commit is contained in:
parent
54de0531a4
commit
708a3ef276
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user