Is it possible to search for the absence of an attribute? #2887
-
Turns out we have some bad client implementations and we have server spans without |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @jcarres-mdsol. Unfortunately, it's not possible yet. Currently only A workaround to finding these spans could be using span-metrics, adding |
Beta Was this translation helpful? Give feedback.
-
Clever workaround but precisely we want to hunt down these implementations because we are planning to change one of the already available dimension I think we will add a processor to the opentelemetry collector that will check http.status_code and decide how to set status.code. Thanks though, I did not know that |
Beta Was this translation helpful? Give feedback.
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 itsdimensions
and doing the query with PromQL, which does support ittempo_spanmetrics_total{http_status_code=""}