pydo.monitoring.get_database_mysql_load()

Generated on 9 Jun 2026 from pydo version v0.36.0

Usage

client.monitoring.get_database_mysql_load(
    db_id="9cc10173-e9ea-4176-9dbc-a4cee4c4ff30",
    metric="load1",
    aggregate="avg",
    start="1620683817",
    end="1620705417",
)
Returns JSONRaises HttpResponseError

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

db_id string required

The DBaaS cluster UUID (database ID).

metric string required

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).

One of: load1, load5, load15

aggregate string required

Aggregation over the time range (avg or max).

One of: avg, max

start string required

UNIX timestamp to start metric window.

end string required

UNIX timestamp to end metric window.

Response Example

Show Response Example
{
  "data": {
    "result": [],
    "resultType": "matrix"
  },
  "status": "success"
}

More Information

See /v2/monitoring/metrics/database/mysql/load in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.