report span status in otel trace export
In the current trace export implementation, the span status attribute is “OK” if when the specific span failed and the checkly.status span attribute says “FAILED”).
Even if the overall trace status is different, it would be great to report the span-status based on the specific check operation. https://opentelemetry.io/docs/concepts/signals/traces/#span-status

Log in to comment and vote
Comments1
María de Antón
Jan 22, 2025
Thank you so much for your feedback, @esara!
To connect checks to the corresponding spans out there, the span we generate, and the one you can export, is the
root.span, you can tell because it has noparent.id.check.statusdescribes exactly the result of the check, not taking into account the trace/span statusesthe
root.spancovers the entire operation, from beginning to endGiven these, these statuses are distinct and unlinked. A Check can fail, but its trace is successful; due to the check expecting a different payload, but all working well on your app, or a component not being there anymore.
The same thing happens the other way around: the Check can succeed but then have span errors in the trace that are not affecting the Check result in any way whatsoever.
It’s important to know if there are errors (or not) in the child spans and that the
root.spanprovides an accurate overview of the entire operation.Does this make sense?
Of course, I am leaving this open for more feedback :) and thank you, again!