Module: Datadog::Core::Environment::GC
- Defined in:
- lib/datadog/core/environment/gc.rb
Overview
Retrieves garbage collection statistics
Class Method Summary collapse
Class Method Details
.available? ⇒ Boolean
12 13 14 |
# File 'lib/datadog/core/environment/gc.rb', line 12 def available? defined?(::GC) && ::GC.respond_to?(:stat) end |
.stat ⇒ Object
8 9 10 |
# File 'lib/datadog/core/environment/gc.rb', line 8 def stat ::GC.stat end |