[][src]Module opentelemetry::api::labels

OpenTelemetry Labels

Structs

DefaultLabelEncoder

Default label encoding strategy

EncoderId

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

Iter

An iterator over the entries of a Set.

LabelSet

An immutable set of distinct labels.

MergeIter

Merge two iterators, sorting by key

Traits

Encoder

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

Functions

default_encoder

Build a new default encoder

hash_labels

Impl of Hash for KeyValue

merge_iters

Merge two iterators, yielding sorted results

new_encoder_id

Build a new encoder id