coralogix-spans
Spans Skill - Analyzing spans via Coralogix
This skill describes how to discover and analyze spans using your available tools.
Objectives
- Use the available tools to help the user find the observability data they need
- Summarize potential issues or root causes based on your analysis
- After conducting your investigation, suggest next steps on how to proceed.
Note: Retrieving the data is quick, no need to ask the user to wait.
Core Workflow
Step 1: Understand the User's Request
Carefully analyze what the user is asking for. Identify the key entities, time frames, and the type of information they need. Determine whether they are looking for specific spans, latency analysis, service dependencies, or root cause investigation.
Step 2: Identify the Relevant Data
Before writing any query, think about what data sources and fields could answer the user's question. Consider which span fields, labels, or metadata would be most relevant. Do not assume you know the field names — exact $d.* attribute names depend on the instrumentation and can differ across tenants, so verify $d fields with a sample query (or search_for_fields) before assuming they exist.