Update sample request (#7431)
- Format curl command to be similar to other sample requests - Add single quotes to URL for '?' so that example is functional - Delete trailing space
This commit is contained in:
parent
88da7ecd82
commit
54a45db46d
|
@ -30,8 +30,9 @@ model for metrics collection.
|
|||
### Sample Request
|
||||
|
||||
```
|
||||
$ curl -H "X-Vault-Token: f3b09679-3001-009d-2b80-9c306ab81aa6" \
|
||||
http://127.0.0.1:8200/v1/sys/metrics?format=prometheus
|
||||
$ curl \
|
||||
--header "X-Vault-Token: ..." \
|
||||
'http://127.0.0.1:8200/v1/sys/metrics?format=prometheus'
|
||||
```
|
||||
|
||||
### Sample Response
|
||||
|
@ -66,4 +67,5 @@ vault_barrier_get{quantile="0.9"} 0.011938000097870827
|
|||
vault_barrier_get{quantile="0.99"} 0.011938000097870827
|
||||
vault_barrier_get_sum 0.1814980012131855
|
||||
vault_barrier_get_count 36
|
||||
...
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue