Skip to main content
GET
Get Database Stats

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

Response

200 - application/json

Database stats retrieved successfully

monitor_count
object

Monitor count

daily_net_commands
integer

Total number of commands executed today

Example:

7

daily_read_requests
integer

Total number of read requests executed today

Example:

7

daily_write_requests
integer

Total number of write requests executed today

Example:

0

connection_count
object[]

Connection count over time

Example:
keyspace
object[]

Total number of keys in the database over time

Example:
throughput
object[]

Throughput on database connections over time

Example:
diskusage
object[]

Disk usage over time

Example:
latencymean
object[]

Average latency over time

Example:
latency_99
object[]

99th percentile latency over time

Example:
read_latency_mean
object[]

Average read latency over time

Example:
read_latency_99
object[]

99th percentile read latency over time

Example:
write_latency_mean
object[]

Average write latency over time

Example:
write_latency_99
object[]

99th percentile write latency over time

Example:
hits
object[]

Cache hits over time

Example:
misses
object[]

Cache misses over time

Example:
read
object[]

Read requests over time

Example:
write
object[]

Write requests over time

Example:
dailyrequests
object[]

Daily requests over time

Example:
days
string[]

Days of the week for measurement

Example:
dailybilling
object[]

Daily billing amounts over time

Example:
dailybandwidth
integer

Total daily bandwidth usage in bytes

Example:

50444740913

bandwidths
object[]

Bandwidth usage over time

Example:
total_monthly_bandwidth
integer

Total bandwidth used in current month (bytes)

Example:

7

total_monthly_requests
integer

Total requests in current month

Example:

7

total_monthly_read_requests
integer

Total read requests in current month

Example:

7

total_monthly_write_requests
integer

Total write requests in current month

Example:

0

total_monthly_script_requests
integer

Total script requests in current month

Example:

0

queue_optimized
boolean

Whether queue optimization is enabled for the database

Example:

false

total_monthly_storage
integer

Total storage used in current month (bytes)

Example:

0

current_storage
integer

Current storage used (bytes)

Example:

0

total_monthly_billing
number<float>

Total cost in current month

Example:

222.33902763855485

command_counts
object[]

Command-specific counts over time

Example: