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


def self.new(raw : Attribute) #

Instance Method Detail

def <<(value : ValueType | ValueArrays) #

ameba:disable Metrics/CyclomaticComplexity


def [](index) #

def []=(index, value) #

def []?(index) #

def key #

def raw : Type #

def to_json(json : JSON::Builder) #

def to_json #

def value #