logo
This is supported on crate feature metrics only.
Expand description

OpenTelemetry Attributes

Structs

An immutable set of distinct attributes.

Default attribute encoding strategy

EncoderID is used to identify distinct Encoder implementations, for caching encoded results.

An iterator over the entries of a Set.

Merge two iterators, sorting by key

Traits

Encoder is a mechanism for serializing an attribute set into a specific string representation that supports caching, to avoid repeated serialization. An example could be an exporter encoding the attribute set into a wire representation.

Functions

Build a new default encoder

Impl of Hash for KeyValue

Merge two iterators, yielding sorted results

Build a new encoder id