Node Metrics

Returns operational metrics for the KVNode, including write and read counts.

Authentication

Requires internal authentication. Pass credentials via X-Glue-Authentication header, or apikey and secret headers.

Example Request

1curl "https://api.hola.cloud/v1/metrics" \
2  -H "X-Glue-Authentication: YOUR_AUTH_TOKEN"

Example Response

1HTTP/1.1 200 OK
2Content-Type: application/json
1{
2  "writes_total": 15000,
3  "reads_total": 98000,
4  "collections": 3,
5  "keys_total": 4500,
6  "uptime_seconds": 86400
7}

Error Codes

Status Code Description
403 forbidden Missing authentication headers
500 internal_error Internal server error

Comments

Leave a comment