class OpenTelemetry::Resource

Included Modules

Defined in:

opentelemetry-api/resource.cr

Constructors

Instance Method Summary

Instance methods inherited from module OpenTelemetry::Sendable

size size, to_json to_json, to_protobuf to_protobuf

Constructor Detail

def self.new(attrs) #

[View source]
def self.new #

[View source]

Instance Method Detail

def [](key) #

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

[View source]
def attribute_list(indent = 4) #

[View source]
def attributes : Hash(String, AnyAttribute) #

[View source]
def attributes=(attributes : Hash(String, AnyAttribute)) #

[View source]
def dropped_attribute_count : UInt32 #

[View source]
def dropped_attribute_count=(dropped_attribute_count : UInt32) #

[View source]
def empty? #

[View source]
def get_attribute(key) #

[View source]
def set_attribute(key, value) #

[View source]
def to_json #

[View source]
def to_protobuf #

The ProtoBuf differs a LOT from the current Spec. Methinks this has changed a bunch since I last updated it.


[View source]