Class: Appsignal::Minutely::GCProbe Private

Inherits:
Object
  • Object
show all
Defined in:
lib/appsignal/minutely.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#callObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



37
38
39
40
41
# File 'lib/appsignal/minutely.rb', line 37

def call
  GC.stat.each do |key, value|
    Appsignal.set_process_gauge("gc.#{key}", value)
  end
end