Open lmolkova opened 3 months ago
area:error
Common definition of error.type doesn't mention that fully qualified name should be used (when exception type is recorded).
error.type
It's specifically important on Python where exception_type.__name__ is not qualified.
exception_type.__name__
Here's how we recommend it in HTTP semconv
[1]: If the request fails with an error before response status code was sent or received, error.type SHOULD be set to exception type (its fully-qualified class name, if applicable) or a component-specific low cardinality error identifier.
TODO:
exception.type
1.24.0
No response
I will send a PR to address this.
Area(s)
area:error
What happened?
Description
Common definition of
error.type
doesn't mention that fully qualified name should be used (when exception type is recorded).It's specifically important on Python where
exception_type.__name__
is not qualified.Expected Result
Here's how we recommend it in HTTP semconv
TODO:
error.type
description - done in #945exception.type
(anderror.type
) see https://github.com/open-telemetry/semantic-conventions/pull/945#discussion_r1575408416Semantic convention version
1.24.0
Additional context
No response