class OpenTelemetry::Meter

Defined in:

meter.cr
meter/exceptions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(service_name = nil, service_version = nil, schema_url = nil, exporter = nil, provider = nil) #

Instance Method Detail

def exporter : Exporter | Nil #

def exporter=(exporter : Exporter | Nil) #

def merge_configuration_from_provider=(val : OpenTelemetry::MeterProvider) #

def meter_name : String #

def meter_name=(meter_name : String) #

def provider : MeterProvider #

def provider=(val : OpenTelemetry::MeterProvider) #

def schema_url : String #

def schema_url=(schema_url : String) #

def service_name : String #

def service_name=(service_name : String) #

def service_version : String #

def service_version=(service_version : String) #

def to_json #

def to_protobuf #

This method returns a ProtoBuf object containing all of the Trace information.