List Postgres slow query patterns
Changed onReturns aggregate metrics for the slowest query patterns observed on a Postgres service during the given time window. Use this to discover which queries dominate total execution time, CPU, I/O, or WAL generation.
Request
- Base URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
ID of the organization that owns the Postgres service.
ID of the requested Postgres service.
Query parameters
Inclusive start of the time window (RFC 3339 date-time).
Exclusive end of the time window (RFC 3339 date-time).
Database name filter.
Database user filter.
Database operation filter (for example, SELECT, INSERT, UPDATE, DELETE, UTILITY).
Application name filter.
Field to sort results by.
Sort order. One of asc or desc.
Maximum number of results to return.
Number of results to skip before returning.
Response
Successful response
HTTP status code.
Unique id assigned to every request. UUIDv4
List of results.
Example response
{
"status": 200
}Changes
- breaking
the
result/items/avgDurationUsresponse's property type changed fromintegertonumberfor status - breaking
the
result/items/p50DurationUsresponse's property type changed fromintegertonumberfor status - breaking
the
result/items/p95DurationUsresponse's property type changed fromintegertonumberfor status
1 more change in this revision
- breaking