Traces
Database Monitoring: slowest database calls in the window
The slowest raw DB spans across all systems, instances and queries in the window, with trace ids for pivoting. Client-observed, completed calls only.
get/api/{org_id}/db_monitoring/samples
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
org_idstring required
Organization name
Query parameters
start_timeinteger
Start time (microseconds)
end_timeinteger
End time (microseconds)
streamstring
Trace stream filter
systemstring
Database system filter
instancestring
Database instance filter
namespacestring
Database/schema filter
envstring
Deployment environment filter
servicestring
Calling service filter
limitinteger
Max spans (default 100, max 500)
fingerprintstring
Scope the ranking to one query fingerprint — the slowest executions of THAT statement
include_server_fallbackboolean
When the client-vantage answer is an exact zero, also run the database-reported list and return it as server_fallback
Response
Success
object required
Changes
No recorded changes to this operation across all 1 revision of this API.