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

Response

200 - application/json

Database traffic retrieved successfully

database_region
string

Primary region of the database, to compare client regions against

client_network_window
string
Example:

"1h"

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
Example:

"today"

telemetry
object
routes_window
string
Example:

"today"

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

Today's exact command counts, absent until the database saw commands