Class ExceptionIncubatingAttributes
java.lang.Object
io.opentelemetry.semconv.incubating.ExceptionIncubatingAttributes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.opentelemetry.api.common.AttributeKey<String> Deprecated.static final io.opentelemetry.api.common.AttributeKey<String> Deprecated.deprecated in favor of stableExceptionAttributes.EXCEPTION_STACKTRACEattribute.static final io.opentelemetry.api.common.AttributeKey<String> Deprecated.deprecated in favor of stableExceptionAttributes.EXCEPTION_TYPEattribute. -
Method Summary
-
Field Details
-
EXCEPTION_MESSAGE
Deprecated.deprecated in favor of stableExceptionAttributes.EXCEPTION_MESSAGEattribute.The exception message.Notes:
[!WARNING]
This attribute may contain sensitive information.
-
EXCEPTION_STACKTRACE
@Deprecated public static final io.opentelemetry.api.common.AttributeKey<String> EXCEPTION_STACKTRACEDeprecated.deprecated in favor of stableExceptionAttributes.EXCEPTION_STACKTRACEattribute.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
Deprecated.deprecated in favor of stableExceptionAttributes.EXCEPTION_TYPEattribute.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.Notes:
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.Errorfusing%wMAY be unwrapped when the wrapper type does not help classify the failure.
-
ExceptionAttributes.EXCEPTION_MESSAGEattribute.