Skip to content

Commit 3106e6d

Browse files
committed
heap_live_slots is the right thing to monitor
1 parent b7a9a48 commit 3106e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/listener/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def request_body
219219
end
220220

221221
def report_memory_usage
222-
Metriks.gauge("listener.gc.total_allocated_objects").set(GC.stat[:total_allocated_objects])
222+
Metriks.gauge("listener.gc.heap_live_slots").set(GC.stat[:heap_live_slots])
223223
end
224224
end
225225
end

0 commit comments

Comments
 (0)