Sha256: 52010c5419e533eb3f9b791983a219e72a97b0a7855acd39a19cc4373d8e319d

Contents?: true

Size: 339 Bytes

Versions: 60

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

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

60 entries across 60 versions & 1 rubygems

Version Path
appsignal-3.7.0-java lib/appsignal/hooks/mri.rb
appsignal-3.7.0 lib/appsignal/hooks/mri.rb
appsignal-3.6.5-java lib/appsignal/hooks/mri.rb
appsignal-3.6.5 lib/appsignal/hooks/mri.rb
appsignal-3.6.4-java lib/appsignal/hooks/mri.rb
appsignal-3.6.4 lib/appsignal/hooks/mri.rb
appsignal-3.6.3-java lib/appsignal/hooks/mri.rb
appsignal-3.6.3 lib/appsignal/hooks/mri.rb
appsignal-3.6.2-java lib/appsignal/hooks/mri.rb
appsignal-3.6.2 lib/appsignal/hooks/mri.rb
appsignal-3.6.1-java lib/appsignal/hooks/mri.rb
appsignal-3.6.1 lib/appsignal/hooks/mri.rb
appsignal-3.6.0-java lib/appsignal/hooks/mri.rb
appsignal-3.6.0 lib/appsignal/hooks/mri.rb
appsignal-3.5.6-java lib/appsignal/hooks/mri.rb
appsignal-3.5.6 lib/appsignal/hooks/mri.rb
appsignal-3.5.5-java lib/appsignal/hooks/mri.rb
appsignal-3.5.5 lib/appsignal/hooks/mri.rb
appsignal-3.5.4-java lib/appsignal/hooks/mri.rb
appsignal-3.5.4 lib/appsignal/hooks/mri.rb