Sha256: 9f256b0096e9978adeaf4fb49bcdbc6f62709484040f9c922db5471ad553a50e

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

module SpartanAPM
  module Instrumentation
    class Bunny < Base
      def initialize
        @klass = ::Bunny::Channel if defined?(::Bunny::Channel)
        @name = :rabbitmq
        @methods = [
          :basic_get,
          :basic_publish,
          :basic_ack,
          :basic_nack,
          :basic_consume,
          :basic_consume_with,
          :basic_recover,
          :basic_cancel,
          :basic_qos,
          :basic_reject
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spartan_apm-0.0.0.rc1 lib/spartan_apm/instrumentation/bunny.rb