Available on crate feature
metrics
only.Expand description
OpenTelemetry Attributes
Structs§
- Attribute
Set - An immutable set of distinct attributes.
- Default
Attribute Encoder - Default attribute encoding strategy
- Encoder
Id - EncoderID is used to identify distinct Encoder implementations, for caching encoded results.
- Iter
- An iterator over the entries of a
Set
. - Merge
Iter - Merge two iterators, sorting by key
Traits§
- Encoder
- 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§
- default_
encoder - Build a new default encoder
- hash_
attributes - Impl of Hash for
KeyValue
- merge_
iters - Merge two iterators, yielding sorted results
- new_
encoder_ id - Build a new encoder id