pydo.monitoring.get_database_mysql_load()
Generated on 6 Mar 2026
from pydo version
v0.28.0
Description
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.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
db_id |
string | True | The DBaaS cluster UUID (database ID). | |
metric |
string | True | 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). | |
aggregate |
string | True | Aggregation over the time range (avg or max). | |
start |
string | True | UNIX timestamp to start metric window. | |
end |
string | True | UNIX timestamp to end metric window. |
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.