abstract class OpenTelemetry::Instrument

Direct Known Subclasses

Defined in:

instrument.cr
instrument/counter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, kind : String, unit : String = "", description : String = "") #

[View source]

Instance Method Detail

def attributes : Hash(String, AnyAttribute) #

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

[View source]
def description : String #

[View source]
def key_name : String #

[View source]
def kind : String #

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

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

[View source]
def name : String #

[View source]
def unit : String #

[View source]