mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 13:14:05 -08:00
Change snapshot description to be consistent with rest of the doc (#5642)
Signed-off-by: mkenigs <matthewkenigsberg@gmail.com>
This commit is contained in:
parent
819205ed03
commit
e23fa22233
|
@ -708,10 +708,14 @@ Snapshot creates a snapshot of all current data into `snapshots/<datetime>-<rand
|
|||
It will optionally skip snapshotting data that is only present in the head block, and which has not yet been compacted to disk.
|
||||
|
||||
```
|
||||
POST /api/v1/admin/tsdb/snapshot?skip_head=<bool>
|
||||
PUT /api/v1/admin/tsdb/snapshot?skip_head=<bool>
|
||||
POST /api/v1/admin/tsdb/snapshot
|
||||
PUT /api/v1/admin/tsdb/snapshot
|
||||
```
|
||||
|
||||
URL query parameters:
|
||||
|
||||
- `skip_head=<bool>`: Skip data present in the head block. Optional.
|
||||
|
||||
```json
|
||||
$ curl -XPOST http://localhost:9090/api/v1/admin/tsdb/snapshot
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue