class

OpenTelemetry::AnyAttribute

Inherits Reference / Object

This is a wrapper around the supported attribute types.

Constructors

new(key : String, value : ValueTypes | UInt64)

ameba:disable Metrics/CyclomaticComplexity

Source
new(raw : Attribute)
Source

Instance methods

<<(value : ValueType | ValueArrays)

ameba:disable Metrics/CyclomaticComplexity

Source
[](index)
Source
[]=(index, value)
Source
[]?(index)
Source
to_json(json : JSON::Builder)
Source
to_json
Source
value
Source

Nested types