docs(managed-postgres): document slow query patterns API#6330
Open
amogiska wants to merge 2 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
|
Docs PR opened: ClickHouse/mintlify-docs-dev#110 Documented the new Managed Postgres slow query patterns API endpoints and cross-linked them with the Query Insights monitoring page. Once this PR is merged, we'll do a second pass to capture any additional changes and update the docs PR. |
deeox
reviewed
Jun 3, 2026
| `from_date` and `to_date` as RFC 3339 timestamps: | ||
|
|
||
| ```bash | ||
| FROM=2026-05-25T00:00:00Z |
Contributor
There was a problem hiding this comment.
When I tried this api timestamp had to be in milliseconds precision else it was giving 400. Can you please check once?
theory
approved these changes
Jun 3, 2026
| { | ||
| "result": [ | ||
| { | ||
| "queryId": "-4748036479882663975", |
Contributor
There was a problem hiding this comment.
We have negative query IDs? o_O
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
slowQueryPatternsGetList,slowQueryPatternGet) on the Managed Postgres OpenAPI page, with curl examples, query parameters, and representative JSON responses.Scope is limited to the Managed Postgres service docs — no other Cloud sections or sidebar changes.
Note
Low Risk
Documentation-only changes to Managed Postgres guides; no runtime, API, or auth behavior is modified.
Overview
Documents how to call Managed Postgres slow query pattern APIs from the same telemetry as the Query Insights console.
The OpenAPI guide gains a Query insights section with
curlexamples for listing patterns (from_date/to_date,sort_by, filters, paging) and fetching one pattern byqueryId(requireddb_name,db_user,db_operation), plus sample JSON and links to Swagger operations.The Query insights monitoring page adds a short Query insights API section mapping the Slow patterns table and detail flyout to those endpoints, and Related pages / frontmatter keywords are updated for cross-navigation between UI docs and the programmatic reference.
Reviewed by Cursor Bugbot for commit fbe4332. Bugbot is set up for automated code reviews on this repo. Configure here.