Get Database Stats
This endpoint gets detailed stats of a database.
1 min read
get/redis/stats/{id}
Request example
Response
get/redis/stats/{id}
Authorization
Path parameters
The ID of the database
Query parameters
Period the time series cover: 1h, 3h, 12h, 1d, 3d, 7d or 30d. Defaults to 1h. 30d is only available for databases on a Pro plan or with the Production Pack.
Default: "1h"
Responses
application/json
200
Database stats retrieved successfully
Deprecated alias of latency_p50, kept for older clients. Carries the median, not the mean.
Example:
Deprecated alias of read_latency_p50, kept for older clients. Carries the median, not the mean.
Example:
Deprecated alias of write_latency_p50, kept for older clients. Carries the median, not the mean.
Example:
Deprecated, always 0. Use daily_script_commands from the Prometheus integration
Example:0
Median time the engine spent executing commands, Pro and Production Pack only
Example:
99th percentile time the engine spent executing commands, Pro and Production Pack only
Example:
99th percentile time commands waited for the execution lock, Pro and Production Pack only
Example:
99th percentile time to load a key from disk, Pro and Production Pack only
Example:
Keys loaded from disk per ten-minute window, Pro and Production Pack only
Example:
99th percentile Lua script latency over time, Pro and Production Pack only
Example:
Number of distinct Lua scripts run since midnight UTC, Pro and Production Pack only