Stats
Use the ably stats command group to view statistics for your Ably account or apps. These commands enable you to retrieve usage metrics and subscribe to live stats updates.
Use the following command to retrieve account-level usage metrics such as messages, connections, and data transferred:
| Command | Description |
|---|---|
ably stats account | Get account-level statistics. |
Use the following command to retrieve app-level statistics such as messages, connections, channels, and API requests:
| Command | Description |
|---|---|
ably stats app | Get app-level statistics. |
- CLI reference — Full list of available commands.