metrics #
Available since 2.16.0
Returns inner metrics directly from the current Kuzzle node core components.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_metrics
Method: GET
Other protocols #
{
"controller": "server",
"action": "metrics"
}
Response #
Returns the found statistic snapshots in the following format:
api
: current node API funnel metricsconcurrentRequests
: number of concurrent requests currently executed.pendingRequests
: number of requests waiting for execution
network
: current node router metricsconnections
: number of active connections, per network protocol
realtime
: current node realtime hotelClerk metricsrooms
: number of active realtime roomssubscriptions
: number of active subscriptions
{
"status": 200,
"error": null,
"action": "metrics",
"controller": "server",
"requestId": "<unique request identifier>",
"result": {
"api":{
"concurrentRequests": 1,
"pendingRequests": 0
},
"network": {
"connections": {
"websocket": 1,
"http/1.1": 1
}
},
"realtime": {
"rooms": 1,
"subscriptions": 1
}
}
}
Edit this page on Github(opens new window)