class OpenTelemetry::MeterProvider

Overview

A MeterProvider encapsulates a set of meter configuration, and provides an interface for creating Meter instances.

Defined in:

meter_provider.cr

Instance Method Summary

Instance methods inherited from class OpenTelemetry::Provider

config : Configuration config, configure!(new_config) configure!, exporter exporter, exporter=(val) exporter=, id_generator id_generator, id_generator=(val) id_generator=, merge_configuration(secondary_config) merge_configuration, sampler sampler, sampler=(val) sampler=, schema_url schema_url, schema_url=(val) schema_url=, service_name service_name, service_name=(val) service_name=, service_version service_version, service_version=(val) service_version=

Constructor methods inherited from class OpenTelemetry::Provider

new(service_name : String = "", service_version : String = "", schema_url : String = "", exporter : Exporter | Nil = nil, sampler : Sampler = Sampler::AlwaysOn.new, id_generator = "unique")
new(config, &block : Configuration::Factory -> )
new(&block : Configuration::Factory -> )
new

Instance Method Detail

def meter(service_name = nil, service_version = nil, schema_url = nil, exporter = nil, interval = nil) #

[View source]
def meter(&) #

[View source]