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

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:

  • "load1"
  • "load15"
  • "load5"
end String Yes

UNIX timestamp to end metric window.

aggregate String Yes

Aggregation over the time range (avg or max).

Valid values:

  • "max"
  • "avg"
start String Yes

UNIX timestamp to start metric window.

db_id String Yes

The DBaaS cluster UUID (database ID).

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.