[DOC] TraceQL: documentation to filter traces where a span attribute exists #2465
Labels
enhancement
New feature or request
stale
Used for stale issues / PRs
type/docs
Improvements or additions to documentation
Is your feature request related to a problem? Please describe.
When troubleshooting my application, I would like to search for traces having a specific attribute being defined.
For example, for the operation
getProduct
, I want to find traces containing SQL spans, traces that contain a span with an attributedb.type
.I want to write this query without having to know what are the possible values for
db.type
, just saying that the attributedb.type
is defined.When using ElasticSearch & Kibana, it's the syntax
my_field: *
where*
means "exist in any form".I would like the TraceQL docs to document how I can do the equivalent with Tempo.
cc @knylander-grafana
The text was updated successfully, but these errors were encountered: