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.
Account stats
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. |
App stats
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. |
See also
- CLI reference — Full list of available commands.