Skip to main content
GET
Get Database Traffic

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
default:1d

The period every figure covers: 1h, 3h, 12h, 1d, 3d, 7d or 30d. Defaults to 1d.

Response

200 - application/json

Database traffic retrieved successfully

period
string

The period every figure covers

Example:

"1d"

database_region
string

Primary region of the database, to compare client regions against

client_network_window
string

Same as period

Example:

"1d"

client_networks
object[]
client_network_evictions
number

Networks the proxies pushed out of their sampling tables. A value comparable to the observations means the list is a sample of the traffic rather than a ranking.

telemetry_window
string

Same as period

Example:

"1d"

telemetry
object
routes_window
string

Same as period

Example:

"1d"

routes
object[]
entry_regions
object[]
cross_region_share
number

Share of bytes served by a replica in another region than the entry region

commands
object

Command counts over the period, absent when the database saw none