{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","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.","properties":{"query":{"type":"object","properties":{"db_id":{"type":"string","format":"uuid","examples":["9cc10173-e9ea-4176-9dbc-a4cee4c4ff30"],"description":"The DBaaS cluster UUID (database ID)."},"metric":{"type":"string","enum":["load1","load5","load15"],"examples":["load1"],"description":"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":{"type":"string","enum":["avg","max"],"examples":["avg"],"description":"Aggregation over the time range (avg or max)."},"start":{"type":"string","examples":["1620683817"],"description":"UNIX timestamp to start metric window."},"end":{"type":"string","examples":["1620705417"],"description":"UNIX timestamp to end metric window."}},"required":["db_id","metric","aggregate","start","end"],"additionalProperties":false}},"required":["query"],"additionalProperties":false},"name":"Get Database MySQL Load Average Metrics","id":"digitalocean.monitoring_get_database_mysql_load","example":{"query":{"db_id":"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30","metric":"load1","aggregate":"avg","start":"1620683817","end":"1620705417"}},"maxRequests":1,"summary":false}}