query-spans
Installation
SKILL.md
Spans Query Skill
Query and analyze distributed tracing data using the cx spans command with DataPrime syntax.
Understanding Spans in Coralogix
Spans are the fundamental unit of tracing data. Traces are not stored as single entities — they are logical groupings of spans that share the same traceID. To analyze a trace, you query its constituent spans.
This means:
- Metadata (
$m.*) and labels ($l.*) are predictable — you can always filter on timestamp, duration, service name, and operation name without discovery. - User data (
$d.*) contains trace identifiers (traceID,spanID,parentSpanID) and application-specific tags/attributes that vary by service. Always verify custom$dfields before assuming they exist.
CLI Command
cx spans '<dataprime_query>'
Related skills
More from coralogix/cx-cli
cx-telemetry-querying
|
176cx-alerts
This skill should be used when the user asks to "manage alerts", "create alert", "list alerts", "check alert status", "enable alert", "disable alert", "investigate firing alerts", "check which alerts are active", "find alerting rules", "set up an alert", "configure alerting", "mute an alert", "silence an alert", "see alert definitions", "check alert priority", or wants to manage Coralogix alert definitions using the cx CLI.
159cx-create-dashboard
>
150cx-observability-setup
>
149cx-incident-management
>
147cx-cost-optimization
>
141