ErrorExperimentalAttributes

org.typelevel.otel4s.semconv.experimental.attributes.ErrorExperimentalAttributes

Attributes

Source
ErrorExperimentalAttributes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Attributes

Companion
class
Source
ErrorExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Deprecated classlikes

abstract class ErrorTypeValue(val value: String)

Values for ErrorType.

Values for ErrorType.

Attributes

Companion
object
Deprecated
true
Source
ErrorExperimentalAttributes.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Other

Value members

Deprecated fields

Describes a class of error the operation ended with.

Describes a class of error the operation ended with.

Attributes

Note

  • The error.type SHOULD be predictable and SHOULD have low cardinality. Instrumentations SHOULD document the list of errors they report.

  • The cardinality of error.type within one instrumentation library SHOULD be low. Telemetry consumers that aggregate data from multiple instrumentation libraries and applications should be prepared for error.type to have high cardinality at query time when no additional filters are applied.

  • If the operation has completed successfully, instrumentations SHOULD NOT set error.type.

  • If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status codes), it's RECOMMENDED to: - Use a domain-specific attribute - Set error.type to capture all errors, regardless of whether they are defined within the domain-specific set or not.

Deprecated
true
Source
ErrorExperimentalAttributes.scala