Sha256: a16f04967944dd92a708ad3083970509d30aded1b4894bde39c29fed60284f38

Contents?: true

Size: 496 Bytes

Versions: 28

Compression:

Stored size: 496 Bytes

Contents

module Skylight
  module Probes
    module Faraday
      module Instrumentation
        def builder
          unless defined?(@__sk__setup)
            @__sk__setup = true
            @builder.insert 0, ::Faraday::Request::Instrumentation
          end
          @builder
        end
      end

      class Probe
        def install
          ::Faraday::Connection.prepend(Instrumentation)
        end
      end
    end

    register(:faraday, "Faraday", "faraday", Faraday::Probe.new)
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
skylight-6.1.0.beta lib/skylight/probes/faraday.rb
skylight-6.0.4 lib/skylight/probes/faraday.rb
skylight-6.0.3 lib/skylight/probes/faraday.rb
skylight-5.3.5 lib/skylight/probes/faraday.rb
skylight-6.0.2 lib/skylight/probes/faraday.rb
skylight-6.0.1 lib/skylight/probes/faraday.rb
skylight-6.0.0 lib/skylight/probes/faraday.rb
skylight-6.0.0.beta2 lib/skylight/probes/faraday.rb
skylight-6.0.0.beta lib/skylight/probes/faraday.rb
skylight-5.3.4 lib/skylight/probes/faraday.rb
skylight-5.3.3 lib/skylight/probes/faraday.rb
skylight-5.3.2 lib/skylight/probes/faraday.rb
skylight-5.3.1 lib/skylight/probes/faraday.rb
skylight-5.3.0 lib/skylight/probes/faraday.rb
skylight-5.2.0 lib/skylight/probes/faraday.rb
skylight-5.2.0.beta2 lib/skylight/probes/faraday.rb
skylight-5.2.0.beta lib/skylight/probes/faraday.rb
skylight-5.1.1 lib/skylight/probes/faraday.rb
skylight-5.1.0.beta3 lib/skylight/probes/faraday.rb
skylight-5.1.0.beta2 lib/skylight/probes/faraday.rb