2023-09-07 21:26:18 +08:00
---
description: Learn how to create TraceQL queries in Grafana using Explore > Search.
keywords:
- grafana
- tempo
- traces
- queries
labels:
products:
- cloud
- enterprise
- oss
menuTitle: Search traces
2024-08-27 21:49:49 +08:00
title: Investigate traces using Search query builder
2023-09-07 21:26:18 +08:00
weight: 300
2024-08-27 21:49:49 +08:00
refs:
explore:
- pattern: /docs/grafana/
destination: /docs/grafana/< GRAFANA_VERSION > /explore/
- pattern: /docs/grafana-cloud/
destination: /docs/grafana/< GRAFANA_VERSION > /explore/
service-graph:
- pattern: /docs/grafana/
destination: /docs/grafana/< GRAFANA_VERSION > /datasources/tempo/service-graph/
- pattern: /docs/grafana-cloud/
destination: /docs/grafana-cloud/connect-externally-hosted/data-sources/tempo/service-graph/
recorded-queries:
- pattern: /docs/grafana/
destination: /docs/grafana/< GRAFANA_VERSION > /administration/recorded-queries/
- pattern: /docs/grafana-cloud/
destination: /docs/grafana/< GRAFANA_VERSION > /administration/recorded-queries/
tempo-query-editor:
- pattern: /docs/grafana/
destination: /docs/grafana/< GRAFANA_VERSION > /datasources/tempo/query-editor/
- pattern: /docs/grafana-cloud/
destination: /docs/grafana-cloud/connect-externally-hosted/data-sources/tempo/query-editor/
2023-09-07 21:26:18 +08:00
---
2024-08-27 21:49:49 +08:00
# Investigate traces using Search query builder
2023-09-07 21:26:18 +08:00
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 ](/docs/tempo/latest/traceql ).
2024-08-27 21:49:49 +08:00
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.
2023-09-07 21:26:18 +08:00
2024-08-27 21:49:49 +08:00

2023-09-07 21:26:18 +08:00
## 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/grafana/latest/setup-grafana/configure-grafana/feature-toggles/ ).
[//]: # 'Shared content for the Search - TraceQL query builder'
2025-02-14 02:42:43 +08:00
{{< docs / shared source = "grafana" lookup = "datasources/tempo-search-traceql.md" leveloffset = "+1" version = "<GRAFANA_VERSION>" > }}