2.5 KiB
description | keywords | labels | menuTitle | title | weight | refs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn how to create TraceQL queries in Grafana using Explore > Search. |
|
|
Search traces | Investigate traces using Search query builder | 300 |
|
Investigate traces using Search query builder
Inspired by PromQL and LogQL, TraceQL is a query language designed for selecting traces. TraceQL provides a method for formulating precise queries so you can zoom in to the data you need. Query results are returned faster because the queries limit what is searched.
To learn more about how to query by TraceQL, refer to the TraceQL documentation.
The Search query builder, located on the Explore > Query type > Search in Grafana, provides drop-down lists and text fields to help you write a query.
Enable Search with the query builder
This feature is automatically available in Grafana 10 (and newer) and Grafana Cloud.
To enable the TraceQL query builder in self-hosted Grafana through version 10.1, enable the traceqlSearch
feature toggle.
{{< docs/shared source="grafana" lookup="datasources/tempo-search-traceql.md" leveloffset="+1" version="<GRAFANA_VERSION>" >}}