Sha256: 4c18cd509a3dcdbc10ab7a42b9d9b0d092ae28c3c4e9725e77614d6b7612e62b
Contents?: true
Size: 570 Bytes
Versions: 30
Compression:
Stored size: 570 Bytes
Contents
module Appsignal module Probes class MriProbe # @api private def self.dependencies_present? defined?(::RubyVM) && ::RubyVM.respond_to?(:stat) end def initialize Appsignal.logger.debug("Initializing VM probe") end # @api private def call stat = RubyVM.stat [:class_serial, :global_constant_state].each do |metric| Appsignal.add_distribution_value( "ruby_vm", stat[metric], :metric => metric ) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems