Traffic Stats
Returns real-time traffic statistics for the gateway.
Description
This endpoint returns an array of per-host gateway statistics. Each item uses Glue2's prettyStats fields, with aggregate rows for * and -noroute-.
Authentication
None. This endpoint is public.
Request
No request body required.
Example
1curl -X GET "https://api.hola.cloud/v0/stats"
Response
1[
2 {
3 "host": "my-project.hola.cloud",
4 "served_requests": 154203,
5 "serving_time": "32.4s",
6 "latency_avg": "210µs",
7 "uptime": "24h0m0s",
8 "start_timestamp": "2026-06-21T10:00:00Z"
9 }
10]
Error Codes
| Code | Description |
|---|---|
| 200 | Statistics returned successfully |
Comments