Sha256: ed5813e62f6766676748d6766e4765a9d4ed7126a5bba2324bc8be9270ab0e4f

Contents?: true

Size: 385 Bytes

Versions: 22

Compression:

Stored size: 385 Bytes

Contents

# frozen_string_literal: true

module Sbmt
  module KafkaConsumer
    module Instrumentation
      class TracingMonitor < ChainableMonitor
        def initialize
          tracers = []
          tracers << OpenTelemetryTracer if defined?(OpenTelemetryTracer)
          tracers << SentryTracer if defined?(SentryTracer)

          super(tracers)
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sbmt-kafka_consumer-3.4.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.3.2 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.3.1 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.3.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.2.2 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.2.1 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.2.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.1.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.8.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-3.0.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.7.1 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.7.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.6.1 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.6.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.5.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.4.1 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.4.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.3.1 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.3.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb
sbmt-kafka_consumer-2.2.0 lib/sbmt/kafka_consumer/instrumentation/tracing_monitor.rb