Skip to content

Commit

Permalink
Update docs/sources/tempo/traceql/_index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kim Nylander <[email protected]>
  • Loading branch information
joe-elliott and knylander-grafana authored Nov 18, 2024
1 parent f1e1d26 commit 336278c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/tempo/traceql/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ The implemented comparison operators are:
- `!~` (negated regular expression)

TraceQL uses Golang regular expressions. Online regular expression testing sites like https://regex101.com/ are convenient to validate regular expressions used in TraceQL queries. All regular expressions
are treated as fully anchored. `span.foo =~ "bar"` will be evaluated as `span.foo =~ "^bar$"`.
are treated as fully anchored. For example, `span.foo =~ "bar"` is evaluated as `span.foo =~ "^bar$"`.

For example, to find all traces where an `http.status_code` attribute in a span are greater than `400` but less than equal to `500`:

Expand Down

0 comments on commit 336278c

Please sign in to comment.