diff --git a/README.md b/README.md index 40ac0ae..e9b5be7 100644 --- a/README.md +++ b/README.md @@ -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" + +# ... +```