GET /v2/monitoring/metrics/database/mysql/cpu_usage
Retrieve CPU usage (percent) for a MySQL cluster. Response is a time series of cluster-level CPU usage. Use aggregate to get avg, max, or min over the range.
Servers
- https://api.digitalocean.com
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
end |
String | Yes |
UNIX timestamp to end metric window. |
aggregate |
String | Yes |
Aggregation over the time range (avg, max, or min). Valid values:
|
start |
String | Yes |
UNIX timestamp to start metric window. |
db_id |
String | Yes |
The DBaaS cluster UUID (database ID). |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.