mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2024-12-26 16:59:07 +01:00
Update README.md
This commit is contained in:
parent
c8c6560040
commit
61e9191d4d
@ -141,3 +141,12 @@ curl -H "Authorization: Bearer $JWT" -D - "http://localhost:8080/api/query" -d "
|
|||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For debugging there is a debug endpoint to dump the current content to stdout:
|
||||||
|
```sh
|
||||||
|
JWT="eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlcyI6WyJST0xFX0FETUlOIiwiUk9MRV9BTkFMWVNUIiwiUk9MRV9VU0VSIl19.d-3_3FZTsadPjDEdsWrrQ7nS0edMAR4zjl-eK7rJU3HziNBfI9PDHDIpJVHTNN5E5SlLGLFXctWyKAkwhXL-Dw"
|
||||||
|
|
||||||
|
# If the collector and store and nats-server have been running for at least 60 seconds on the same host, you may run:
|
||||||
|
curl -H "Authorization: Bearer $JWT" -D - "http://localhost:8080/api/debug"
|
||||||
|
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user