Skip to main content
get/redis/stats/{id}
Request example
Response
get/redis/stats/{id}

Authorization

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

Path parameters

idstringrequired#
The ID of the database

Query parameters

periodstring#
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
monitor_countobject#
daily_net_commandsinteger#
Total number of commands executed today
daily_read_requestsinteger#
Total number of read requests executed today
daily_write_requestsinteger#
Total number of write requests executed today
connection_countobject[]#
Connection count over time
keyspaceobject[]#
Total number of keys in the database over time
throughputobject[]#
Throughput on database connections over time
diskusageobject[]#
Disk usage over time
latency_p50object[]#
Median (p50) latency over time
latencymeanobject[]#
Deprecated alias of latency_p50, kept for older clients. Carries the median, not the mean.
latency_99object[]#
99th percentile latency over time
read_latency_p50object[]#
Median (p50) read latency over time
read_latency_meanobject[]#
Deprecated alias of read_latency_p50, kept for older clients. Carries the median, not the mean.
read_latency_99object[]#
99th percentile read latency over time
write_latency_p50object[]#
Median (p50) write latency over time
write_latency_meanobject[]#
Deprecated alias of write_latency_p50, kept for older clients. Carries the median, not the mean.
write_latency_99object[]#
99th percentile write latency over time
hitsobject[]#
Cache hits over time
missesobject[]#
Cache misses over time
readobject[]#
Read requests over time
writeobject[]#
Write requests over time
dailyrequestsobject[]#
Daily requests over time
daysstring[]#
Days of the week for measurement
dailybillingobject[]#
Daily billing amounts over time
dailybandwidthinteger#
Total daily bandwidth usage in bytes
bandwidthsobject[]#
Bandwidth usage over time
total_monthly_bandwidthinteger#
Total bandwidth used in current month (bytes)
total_monthly_requestsinteger#
Total requests in current month
total_monthly_read_requestsinteger#
Total read requests in current month
total_monthly_write_requestsinteger#
Total write requests in current month
total_monthly_script_requestsintegerdeprecated#
Deprecated, always 0. Use daily_script_commands from the Prometheus integration
queue_optimizedboolean#
Whether queue optimization is enabled for the database
total_monthly_storageinteger#
Total storage used in current month (bytes)
current_storageinteger#
Current storage used (bytes)
total_monthly_billingnumber#
Total cost in current month
rest_conn_countobject[]#
Open REST connections over time
latency_p90object[]#
Overall 90th percentile latency over time, Pro and Production Pack only
command_latency_p50object[]#
Median time the engine spent executing commands, Pro and Production Pack only
command_latency_99object[]#
99th percentile time the engine spent executing commands, Pro and Production Pack only
wait_latency_99object[]#
99th percentile time commands waited for the execution lock, Pro and Production Pack only
disk_load_latency_99object[]#
99th percentile time to load a key from disk, Pro and Production Pack only
disk_loadsobject[]#
Keys loaded from disk per ten-minute window, Pro and Production Pack only
lua_latency_p50object[]#
Median Lua script latency over time, Pro and Production Pack only
lua_latency_99object[]#
99th percentile Lua script latency over time, Pro and Production Pack only
lua_scriptsobject[]#
Most executed Lua scripts since midnight UTC, Pro and Production Pack only
lua_script_countnumber#
Number of distinct Lua scripts run since midnight UTC, Pro and Production Pack only
slow_commandsobject[]#
Commands that exceeded the slow threshold today, Pro and Production Pack only
acl_user_loginsobject[]#
Logins per ACL user today, Pro and Production Pack only
command_countsobject[]#
Command-specific counts over time