ExceptionIncubatingAttributes
in
Semantic attributes and corresponding values for exception.
Tags
Table of Contents
Constants
- EXCEPTION_MESSAGE : mixed = 'exception.message'
- The exception message.
- EXCEPTION_STACKTRACE : mixed = 'exception.stacktrace'
- A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
- EXCEPTION_TYPE : mixed = 'exception.type'
- The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.
Constants
EXCEPTION_MESSAGE
The exception message.
public
mixed
EXCEPTION_MESSAGE
= 'exception.message'
[!WARNING]> This attribute may contain sensitive information.
Tags
EXCEPTION_STACKTRACE
A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
public
mixed
EXCEPTION_STACKTRACE
= 'exception.stacktrace'
Tags
EXCEPTION_TYPE
The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.
public
mixed
EXCEPTION_TYPE
= 'exception.type'
If the recorded exception type is a wrapper that is not meaningful for
failure classification, instrumentation MAY use the type of the inner
exception instead. For example, in Go, errors created with fmt.Errorf
using %w MAY be unwrapped when the wrapper type does not help
classify the failure.