cURL
curl --request GET \ --url https://cloud.laravel.com/api/websocket-servers/{websocketServer}/metrics \ --header 'Authorization: Bearer <token>'
{ "data": { "connection_count": { "labels": [ "<string>" ], "average": [ 123 ], "data": [ { "x": "<string>", "y": [ 123 ] } ] }, "message_rate": { "labels": [ "<string>" ], "average": [ 123 ], "data": [ { "x": "<string>", "y": [ 123 ] } ] } }, "meta": { "period": "<string>", "available_periods": [ "<string>" ] } }
Get metrics for a specific WebSocket cluster.
The Bearer Token generated on the Cloud UI.
The websocket server identifier
6h
24h
3d
7d
30d
Show child attributes
Was this page helpful?