class
OpenTelemetry::Attributes::Builder
- OpenTelemetry::Attributes::Builder
- Reference
- Object
Overview
Collects attributes for an immutable result. Concurrency: mutable and intended for a single owner.
Defined in:
api/attributes.crConstructors
Instance Method Summary
- #[]=(key : String, value) : Nil
-
#build : Attributes
Transfers the collected entries into an immutable result and resets the builder.
- #has_key?(key : String) : Bool
- #merge(attributes) : self
- #set(key : String, value) : self
- #size : Int32
Constructor Detail
Instance Method Detail
def build : Attributes
#
Transfers the collected entries into an immutable result and resets the builder.