GET /v2/monitoring/metrics/database/mysql/load
Retrieve load metrics for a MySQL cluster. Use metric for the window: load1 (1-minute), load5 (5-minute), or load15 (15-minute). Use aggregate to get either the average (avg) or maximum (max) over that window over the time range.
Servers
- https://api.digitalocean.com
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
metric |
String | Yes |
Load window: load1 (1-minute), load5 (5-minute), load15 (15-minute). The value is either average or max over that window, depending on the aggregate parameter (avg or max). Valid values:
|
end |
String | Yes |
UNIX timestamp to end metric window. |
aggregate |
String | Yes |
Aggregation over the time range (avg or max). 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.