Home / Companies / Grafana Labs / Blog / Post Details
Content Deep Dive

All about span events: what they are and how to query them

Blog post from Grafana Labs

Post Details
Company
Date Published
Author
Jennie Pham
Word Count
1,087
Company Posts That Month
21
Language
English
Hacker News Points
-
Post removed?
No
Summary

Span events, as unique points within a span's duration, provide additional granularity in distributed tracing, offering valuable insights for debugging and performance optimization without significantly increasing trace sizes. Unlike span attributes, span events can store timestamps, allowing precise performance monitoring and structured logging. They are especially useful for error tracking, as they integrate with spans to form comprehensive traces that capture the sequence of actions leading to errors. TraceQL, a query language for Grafana Cloud Traces, now includes support for querying span events, enabling users to search for specific event names and attributes, thus enhancing monitoring and troubleshooting capabilities. The recent enhancements to TraceQL offer richer sampling capabilities, allowing selective data capture and improved application performance monitoring.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 13 1,330 232 85 -17%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.