Change snapshot description to be consistent with rest of the doc (#5642)

Signed-off-by: mkenigs <matthewkenigsberg@gmail.com>
pull/5641/head
mkenigs 6 years ago committed by Brian Brazil
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. 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> POST /api/v1/admin/tsdb/snapshot
PUT /api/v1/admin/tsdb/snapshot?skip_head=<bool> PUT /api/v1/admin/tsdb/snapshot
``` ```
URL query parameters:
- `skip_head=<bool>`: Skip data present in the head block. Optional.
```json ```json
$ curl -XPOST http://localhost:9090/api/v1/admin/tsdb/snapshot $ curl -XPOST http://localhost:9090/api/v1/admin/tsdb/snapshot
{ {

Loading…
Cancel
Save