Push PostgreSQL query stats snapshots from collector

Push PostgreSQL query stats snapshots

Stores cumulative PostgreSQL query stats snapshots. The server computes per-interval
deltas between consecutive snapshots, avoiding the need to reset pg_stat_statements.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Organization ID

string
required

Cache group ID

string
required

Database name

Body Params

Request to batch create query stats

string
required

Organization ID

string
required

Cache group ID

string
required

Database name

string

Optional parent resource path. If not provided, will be auto-populated
from organization_id and database_id as "organizations/{organization_id}/databases/{database_id}"
If provided, must match the individual organization_id and database_id fields.

requests
array of objects
required

The request messages specifying the query stats to create.
A maximum of 100 query stats can be created in a batch.

requests*
metadata
object

Request metadata

date-time

Timestamp of the last pg_stat_statements reset. Only present on Postgres 14+
(queried from pg_stat_statements_info). Used by the server together with
per-query counter comparisons to detect resets scoped to the monitored database.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json