mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-13 16:46:46 +02:00
Update api.md (#3745)
Update doc with correct example for endpoint "POST /api/v1/admin/tsdb/delete_series"
This commit is contained in:
parent
85f23d82a0
commit
3a1d1e9e3e
@ -429,8 +429,8 @@ Not mentioning both start and end times would clear all the data for the matched
|
||||
Example:
|
||||
|
||||
```json
|
||||
$ curl -X DELETE \
|
||||
-g 'http://localhost:9090/api/v1/series?match[]=up&match[]=process_start_time_seconds{job="prometheus"}'
|
||||
$ curl -XPOST \
|
||||
-g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]=up&match[]=process_start_time_seconds{job="prometheus"}'
|
||||
```
|
||||
*New in v2.1*
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user