Sha256: aab55e18ae00275f960b7509aa0b27851ac978ddab1e459b51d82a11459a6925
Contents?: true
Size: 618 Bytes
Versions: 6
Compression:
Stored size: 618 Bytes
Contents
require 'ddtrace/configuration/pin_setup' require 'ddtrace/configuration/settings' module Datadog # Configuration provides a unique access point for configurations module Configuration attr_writer :configuration def configuration @configuration ||= Settings.new end def configure(target = configuration, opts = {}) if target.is_a?(Settings) yield(target) else PinSetup.new(target, opts).call end end # Helper methods def tracer configuration.tracer end def runtime_metrics tracer.writer.runtime_metrics end end end
Version data entries
6 entries across 6 versions & 1 rubygems