Database Monitoring: top queries
Top query fingerprints with merged stats and _other remainder, merged with a bounded live tail over the un-rolled-up spans.
Request
- Base URLhttps://api.openobserve.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Organization name
Query parameters
Start time (microseconds)
End time (microseconds)
Trace stream filter
Database system filter
Database instance filter
Database namespace filter
Environment filter
Calling service filter
Statement class filter (default 'query'; 'all' disables)
Sort key (whitelist; default total_time_ns)
Max rows (default 100)
Free-text search over normalized query text
When the client-vantage answer is an exact zero, also run the database-reported list and return it as server_fallback (with per-section forbidden/read-failed flags)
Narrows the server_fallback section to one statement (the query-detail row lookup). Does not filter the client-vantage rows.
Δ baseline window start (microseconds); returns baseline_hits under the same filters and sort
Δ baseline window end (microseconds)
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.