Sha256: d55ea6cd7295f51b9f6c9634c387f5009348adf8f68ce390bce588393e5f8396

Contents?: true

Size: 308 Bytes

Versions: 76

Compression:

Stored size: 308 Bytes

Contents

module Appsignal
  class Hooks
    # @api private
    class MriHook < Appsignal::Hooks::Hook
      register :mri

      def dependencies_present?
        defined?(::RubyVM)
      end

      def install
        Appsignal::Minutely.probes.register :mri, Appsignal::Probes::MriProbe
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
appsignal-3.3.2-java lib/appsignal/hooks/mri.rb
appsignal-3.3.2 lib/appsignal/hooks/mri.rb
appsignal-3.3.1-java lib/appsignal/hooks/mri.rb
appsignal-3.3.1 lib/appsignal/hooks/mri.rb
appsignal-3.3.0-java lib/appsignal/hooks/mri.rb
appsignal-3.3.0 lib/appsignal/hooks/mri.rb
appsignal-3.2.2-java lib/appsignal/hooks/mri.rb
appsignal-3.2.2 lib/appsignal/hooks/mri.rb
appsignal-3.2.1-java lib/appsignal/hooks/mri.rb
appsignal-3.2.1 lib/appsignal/hooks/mri.rb
appsignal-3.2.0-java lib/appsignal/hooks/mri.rb
appsignal-3.2.0 lib/appsignal/hooks/mri.rb
appsignal-3.1.6-java lib/appsignal/hooks/mri.rb
appsignal-3.1.6 lib/appsignal/hooks/mri.rb
appsignal-3.1.5-java lib/appsignal/hooks/mri.rb
appsignal-3.1.5 lib/appsignal/hooks/mri.rb
appsignal-3.1.4-java lib/appsignal/hooks/mri.rb
appsignal-3.1.4 lib/appsignal/hooks/mri.rb
appsignal-3.1.3-java lib/appsignal/hooks/mri.rb
appsignal-3.1.3 lib/appsignal/hooks/mri.rb