class OpenTelemetry::AnyAttribute
- OpenTelemetry::AnyAttribute
- Reference
- Object
Overview
This is a wrapper around the supported attribute types.
Defined in:
anyattribute.crConstructors
-
.new(key : String, value : ValueTypes | UInt64)
ameba:disable Metrics/CyclomaticComplexity
- .new(raw : Attribute)
Instance Method Summary
-
#<<(value : ValueType | ValueArrays)
ameba:disable Metrics/CyclomaticComplexity
- #[](index)
- #[]=(index, value)
- #[]?(index)
- #key
- #raw : Type
- #to_json(json : JSON::Builder)
- #to_json
- #value
Constructor Detail
def self.new(key : String, value : ValueTypes | UInt64)
#
ameba:disable Metrics/CyclomaticComplexity