pydo.monitoring.get_database_mysql_cpu_usage()
Generated on 13 Mar 2026
from pydo version
v0.28.0
Description
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.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
db_id |
string | True | The DBaaS cluster UUID (database ID). | |
aggregate |
string | True | Aggregation over the time range (avg, max, or min). | |
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.