CtrlK
BlogDocsLog inGet started
Tessl Logo

kopai/root-cause-analysis

Analyze telemetry data for root cause analysis using Kopai CLI. Use when debugging errors, investigating latency issues, tracing request flows across services, or correlating logs with traces. Also use when users report production issues like "why is my API slow", "getting 500 errors", "service is down", "requests are timing out", or any symptom that needs telemetry-based investigation — even if they don't mention traces or observability explicitly.

100

Quality

100%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

workflow-correlate-logs.mdrules/

titleimpacttags
Step 3: Correlate LogsCRITICALworkflow, logs, correlation, step3

Step 3: Correlate Logs with Trace

Impact: CRITICAL

Find logs associated with a trace for additional context.

Get All Logs for Trace

npx @kopai/cli logs search --trace-id <traceId> --json

Filter by Severity

npx @kopai/cli logs search --trace-id <traceId> --severity-text ERROR --json

Search Log Body

npx @kopai/cli logs search --trace-id <traceId> --body "exception" --json

Multiple Filters

npx @kopai/cli logs search --trace-id <traceId> --severity-text ERROR --body "timeout" --json

Reference

See references/log-filters.md for all filter options

SKILL.md

tile.json