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

TraceQL: A powerful query language for distributed tracing

Blog post from Grafana Labs

Post Details
Company
Date Published
Author
Marty Disibio
Word Count
1,663
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

TraceQL is a new query language introduced by Grafana Labs, designed to enhance the extraction of valuable insights from distributed tracing data using Grafana Tempo, an open-source tracing backend. TraceQL enables users to effectively query and analyze traces, which are structured as trees with components like spans and attributes, by offering a syntax inspired by PromQL and LogQL. It allows for complex queries using boolean logic and supports intrinsics and customizable attributes, with robust data-type awareness for operations on text, numeric, and duration fields. TraceQL also features on-the-fly processing pipelines for aggregations, as well as scope targeting for OpenTelemetry’s resource-level and span-level attributes. Future enhancements include advanced querying capabilities for event sequences and expanded processing pipelines. Currently, TraceQL is available in Tempo 2.0, with its user experience integrated into Grafana 9.3+, providing a powerful tool for analyzing microservice environments and improving trace data utility.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 12 768 161 60 -27%
OpenTelemetry 3 272 25 15 +35%
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.