Module: OpenTelemetry::SDK::Metrics::ConfiguratorPatch

Defined in:
lib/opentelemetry/sdk/metrics/configuration_patch.rb

Overview

The ConfiguratorPatch implements a hook to configure the metrics portion of the SDK.

Instance Method Summary collapse

Instance Method Details

#add_metric_reader(metric_reader) ⇒ Object



13
14
15
# File 'lib/opentelemetry/sdk/metrics/configuration_patch.rb', line 13

def add_metric_reader(metric_reader)
  @metric_readers << metric_reader
end