Menu
Documentationbreadcrumb arrow Grafana Cloudbreadcrumb arrow What's new in Grafana Cloudbreadcrumb arrow Faster TraceQL queries with anchored regular expressions in Grafana Cloud Traces
Grafana Cloud
← Back to What's new
Generally AvailableTraces
Release date: 2024-12-09

Faster TraceQL queries with anchored regular expressions in Grafana Cloud Traces

TraceQL queries now use regular expressions that are anchored at both ends. This change makes the queries faster and matches the behavior of PromQL, where regular expressions are also fully anchored.

This is a breaking change, where the query: { span.foo =~ "bar" } is now treated as: { span.foo =~ "^bar$" }.

If you use TraceQL with regular expressions in your Grafana dashboards and you want the unanchored behavior, update the queries to use the unanchored version, such as { span.foo =~ ".*bar.*"}.