Database statistics
ws_db_statsRetrieve usage statistics for a database by selecting the size (storage used) or cpu (query load) series.
Instructions
Usage statistics for one database. kind selects the series: size (storage used) or cpu (query load).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which statistics series to return. | |
| userId | No | Account id, or the literal "self" for the authenticated account. Defaults to "self". | self |
| hostingId | Yes | Hosting id or uuid the database belongs to. | |
| databaseId | Yes | Database id, as returned by ws_db_list. |