Skip to content

Commit

Permalink
Docs: Fix invalid query (#2857) (#2861)
Browse files Browse the repository at this point in the history
* Fix invalid query

* Chore

(cherry picked from commit a6a934f)

Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and fabrizio-grafana authored Aug 29, 2023
1 parent 0e828a7 commit 79be681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sources/tempo/traceql/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ For example, to find all traces where an `http.status_code` attribute in a span
This works for `http.status_code` values that are strings as well using lexographic ordering:

```
{ span.http.status_code >= "400"}
{ span.http.status_code >= "400" }
```

Find all traces where the `http.method` attribute is either `GET` or `DELETE`:
Expand Down Expand Up @@ -250,7 +250,7 @@ TraceQL supports a grouping pipeline operator that can be used to group by arbit
find someting like a single service with more than 1 error:

```
{ error = true } | by(resource.service.name) | count() > 1
{ status = error } | by(resource.service.name) | count() > 1
```

## Arithmetic
Expand Down

0 comments on commit 79be681

Please sign in to comment.