Skip to main content

Module semantics

Module semantics 

Source
Expand description

Semantic attribute registry for OTLP.

Structs§

Condition
A predicate that must match before a fallback tag can be used.
Registry
Maps semantic concepts to ordered attribute names, types, and conditions for lookups.
SemanticRegistryProvider
Supplies semantic mappings from either the embedded registry or the latest accepted remote update.
TagInfo
One entry in a concept’s fallback precedence list.

Enums§

Concept
A named semantic concept—the canonical identity of an attribute that may have multiple representations across OpenTelemetry versions and Datadog legacy conventions.
Provider
Provenance of an attribute convention.
ValueType
The expected type of an attribute’s value at lookup time.

Statics§

EMBEDDED_REGISTRY
The default semantic mappings compiled into the binary from mappings.json.

Traits§

Accessor
An abstract view over a bag of typed attributes.

Functions§

lookup_float64
Look up a concept as an f64. Mirrors upstream LookupFloat64.
lookup_int64
Look up a concept as an i64.
lookup_string
Look up a concept as a String. Mirrors upstream LookupString.