Explore And OQL
Use Explore to answer ad hoc questions with OQL, Oriel’s pipeline query language.
Workflow
Section titled “Workflow”- Select a workspace, project, environment, service, and time range.
- Open Explore.
- Start with one of the four sources:
spans,traces,logs, ormetrics. - Add pipeline stages such as
where,stats,fields,sort,top, andlimit. - Save useful queries or pin panels to dashboards.
Examples:
spans | where duration > 250ms | stats p95(duration), count() by http.routelogs | where severity >= warn and body contains "timeout" | limit 200metrics | where name == "http.server.duration" | stats p95(value) by service, bin(5m)Permissions
Section titled “Permissions”Explore requires telemetry:query. Saving queries requires queries:manage.
Pinning results to a dashboard requires dashboards:manage.
Related Pivots
Section titled “Related Pivots”- Open a trace result in Trace Detail.
- Open logs near a selected trace or span.
- Use a service value as the active service scope.
- Move a query into a dashboard panel when it should be monitored repeatedly.
See the OQL reference for the closed syntax and field sets.