OTelSemantic class abstract
Base interface for OpenTelemetry semantic convention enums.
This abstract class provides the foundation for all semantic convention enums in the OpenTelemetry API, providing a consistent interface for accessing the attribute key.
- Available extensions
Constructors
- OTelSemantic.new(String key)
-
An abtract base class for all semantics
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMapEntry(
Object value) → MapEntry< String, Object> -
Available on OTelSemantic, provided by the OTelSemanticExtension extension
Converts this semantic attribute and its value to a MapEntry. -
toString(
) → String -
Returns the string representation of this semantic attribute.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited