OTelSemantic class abstract
Base interface for OpenTelemetry semantic-convention attribute-key
enums. Every generated attribute-key enum implements this; consumers
can also implement it on their own app-specific enums to mix into
attributesFromSemanticMap.
- Implementers
- Available extensions
Constructors
- OTelSemantic(String key)
-
Base const constructor.
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 aMapEntry. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited