class OpenTelemetry::AnyAttribute

Overview

This is a wrapper around the supported attribute types.

Defined in:

anyattribute.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String, value : ValueTypes | UInt64) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def self.new(raw : Attribute) #

[View source]

Instance Method Detail

def <<(value : ValueType | ValueArrays) #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def [](index) #

[View source]
def []=(index, value) #

[View source]
def []?(index) #

[View source]
def key #

[View source]
def raw : Type #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def to_json #

[View source]
def value #

[View source]