Skip to content

Is it possible to search for the absence of an attribute? #2887

Answered by mapno
jcarres-mdsol asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jcarres-mdsol. Unfortunately, it's not possible yet. Currently only { .a != nil} is supported.

A workaround to finding these spans could be using span-metrics, adding http.status_code to its dimensions and doing the query with PromQL, which does support it tempo_spanmetrics_total{http_status_code=""}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jcarres-mdsol
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants