Skip to main content Grafana Bookmarks Starred Dashboards Explore Alerting Connections Administration Explore OpenObserve Logs and Traces Search... ctrl+k Explore Outline Split Add Queries Traces A (OpenObserve Logs and Traces) Logs Traces Service Map Organization Trace stream Service Name = Span Name = Status = Duration Tags Run query Results are listed as a table — open any trace to inspect its spans. SQL Reset to generated SQL 使用 str_match(field, '123') 比 LIKE '%123%' 更快;参考文档:https://openobserve.ai/docs/reference/sql-functions/ 1 SELECT * FROM "messenger" WHERE "trace_id" = '33513303fdb8cdefbd4ff24c8394f3d3' ORDER BY "_timestamp" ASC Add query Query history Query inspector Trace messenger-api POST /api/v1/chats/{chat_id}/attachments Trace ID 33513303fdb8cdefbd4ff24c8394f3d3 Start time 2026-11-16 02:19:51.437 (4 hours ago) Duration 1.39s Services 2 Spans 42 Overview 0μs 346.98ms 693.96ms 1.04s 1.39s Filters Critical path Errors High latency 42 spans Show all spans Service & Operation 0μs 346.98ms 693.96ms 1.04s 1.39s messenger-api POST /api/v1/chats/{chat_id}/attachments (188.03ms) 188.03ms - postgres.acquire (5.63μs) 5.63μs - postgres.query (95.74μs) 95.74μs - postgres.acquire (4.86μs) 4.86μs - postgres.query (121.34μs) 121.34μs - postgres.acquire (6.14μs) 6.14μs - postgres.query (125.95μs) 125.95μs - postgres.acquire (45.31μs) 45.31μs - postgres.query (51.71μs) 51.71μs - postgres.query (286.98μs) 286.98μs - postgres.query (592.13μs) 592.13μs - postgres.query (9.33ms) 9.33ms - s3.put (155.53ms) 155.53ms - postgres.acquire (16.38μs) 16.38μs - postgres.query (124.93μs) 124.93μs - postgres.query (630.78μs) 630.78μs - postgres.query (322.82μs) 322.82μs - postgres.query (18.41ms) 18.41ms messenger-worker attachment.publish (68.13ms) 68.13ms attachment.process (1.15s) 1.15s - postgres.acquire (13.06μs) 13.06μs - postgres.query (123.39μs) 123.39μs - postgres.query (27.95ms) 27.95ms - postgres.query (306.18μs) 306.18μs - postgres.query (7.87ms) 7.87ms - s3.get (77.66ms) 77.66ms - s3.put (138.76ms) 138.76ms - s3.put (117.35ms) 117.35ms - s3.put (159.76ms) 159.76ms - s3.put (201.5ms) 201.5ms - postgres.acquire (14.85μs) 14.85μs - postgres.query (119.3μs) 119.3μs - postgres.query (425.22μs) 425.22μs - postgres.query (140.03μs) 140.03μs - postgres.query (36.57ms) 36.57ms - postgres.acquire (5.63μs) 5.63μs - postgres.query (8.21ms) 8.21ms - s3.stat (737.54μs) 737.54μs - postgres.acquire (15.62μs) 15.62μs - postgres.query (97.45ms) 97.45ms - postgres.acquire (7.94μs) 7.94μs - postgres.query (27.96ms) 27.96ms