Skip to main content
GET
Get Database Insights

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the database

Query Parameters

period
string

The period of the series: 1h, 3h, 12h, 1d, 3d, 7d or 30d. Defaults to 3h.

replica
string

Restrict the series to one replica, by its id from the groups list.

by
enum<string>

Set to region to receive one series per region next to the total.

Available options:
region

Response

200 - application/json

Database insights retrieved successfully

groups
object[]

Every group the database has, regardless of the scope requested

metrics
object

Metric name to group key to data points. The all group is always present; region groups are added with by=region. Metrics: latency_p50, latency_p90, latency_p99, command_latency_99, wait_latency_99, lua_latency_99, disk_load_latency_99, disk_loads, throughput and diskusage.