Managed Databases
Get database metrics
get
/managed-databases/{md_uuid}/metricsMonitor your database with real-time and historical metrics: availability, connections and the engine's own measurements (MySQL: queries per second, buffer pool hit ratio, data size; PostgreSQL: commits, cache hit ratio, locks, WAL, data size; Valkey: commands, hit ratio, memory, keys), and the CPU, memory, network and disk of its server. Series are empty until the first measurements arrive.
Autorización
Authorization
Authorization*string
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
md_uuid*string
Parámetros de consulta
metrics?string | null
Comma-separated metrics (see the response of an unknown name); omit for all.
time_range?string | null
Time range like 1h, 24h, 7d, 30d
Por defecto
"1h"Respuestas
Successful Response
application/json
start*integer
end*integer
step*integer
metrics*record<string, array<array<any | any>>>