Clarify acceptable values for span status ERROR descriptions #3496
Labels
spec:trace
Related to the specification/trace directory
triage:accepted:ready
Ready to be implemented. Small enough or uncontroversial enough to be implemented without sponsor
In particular, is it ok for instrumentation to populate span status ERROR description with
exception.message
orexception.type
?This is the current specification text:
Based on this, I would interpret both
exception.message
andexception.type
as generally not ok in most cases (where the specific values depend on the application being instrumented and so cannot be listed out ahead of time by the instrumentation).However, as @Oberon00 points out in #3198 (comment) and #3198 (comment), there are existing SDKs and Instrumentations which are populating the
exception.message
into the span status description, e.g.The text was updated successfully, but these errors were encountered: