Class ExceptionAttributes

java.lang.Object
io.opentelemetry.semconv.ExceptionAttributes

public final class ExceptionAttributes extends Object
  • Field Details

    • EXCEPTION_MESSAGE

      public static final io.opentelemetry.api.common.AttributeKey<String> EXCEPTION_MESSAGE
      The exception message.
    • EXCEPTION_STACKTRACE

      public static final io.opentelemetry.api.common.AttributeKey<String> 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

      public static final io.opentelemetry.api.common.AttributeKey<String> 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.