Extend
This commit is contained in:
parent
511ac78e6d
commit
d590a2c9c8
8 changed files with 261 additions and 30 deletions
|
|
@ -280,10 +280,15 @@ Run daily via cron:
|
|||
The server exposes a ping endpoint:
|
||||
|
||||
```bash
|
||||
curl http://localhost:3000/vaults/fake/ping
|
||||
# Returns: pong
|
||||
curl http://localhost:3000/vaults/test/ping
|
||||
# Returns: {"server_version":"0.10.1","is_authenticated":false}
|
||||
```
|
||||
|
||||
Replace `test` with any vault name. The endpoint returns:
|
||||
|
||||
- `server_version`: Current server version
|
||||
- `is_authenticated`: Whether the request included a valid token
|
||||
|
||||
Docker health check is built-in and checks this endpoint every 30 seconds.
|
||||
|
||||
#### Prometheus Metrics
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue