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 = "") #

Instance Method Detail

def attributes : Hash(String, AnyAttribute) #

def attributes=(attributes : Hash(String, AnyAttribute)) #

def description : String #

def key_name : String #

def kind : String #

def labels : Hash(String, String) #

def labels=(labels : Hash(String, String)) #

def name : String #

def unit : String #