Sha256: d9f5b3ffdbb9a218a1ebbcc1f3dd6320de95cdb7092d92f7e3fc3c9292c7035e

Contents?: true

Size: 736 Bytes

Versions: 31

Compression:

Stored size: 736 Bytes

Contents

# frozen_string_literal: true

require_relative 'client'

module Karafka
  module Instrumentation
    module Vendors
      # Namespace for Appsignal instrumentation
      module Appsignal
        # Base for all the instrumentation listeners
        class Base
          include ::Karafka::Core::Configurable
          extend Forwardable

          # @param block [Proc] configuration block
          def initialize(&block)
            configure
            setup(&block) if block
          end

          # @param block [Proc] configuration block
          # @note We define this alias to be consistent with `Karafka#setup`
          def setup(&block)
            configure(&block)
          end
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
karafka-2.4.13 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.12 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.11 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.10 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.9 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.8 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.7 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.6 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.5 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.4 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.3 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.0 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.0.rc1 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.3.4 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.0.beta2 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.4.0.beta1 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.3.3 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.3.2 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.3.1 lib/karafka/instrumentation/vendors/appsignal/base.rb
karafka-2.3.0 lib/karafka/instrumentation/vendors/appsignal/base.rb