Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 49838f2

Browse files
Adding GC stats to runmetrics plugin (#1207)
* use derived cumulative where applicable * add a flag to control derived cumulatives
1 parent 13369a4 commit 49838f2

File tree

3 files changed

+419
-14
lines changed

3 files changed

+419
-14
lines changed

plugin/runmetrics/example_test.go

+8
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,23 @@ func ExampleEnable() {
5757
// output:
5858
// mayapp/process/cpu_cgo_calls 42
5959
// mayapp/process/cpu_goroutines 42
60+
// mayapp/process/gc_cpu_fraction 42
61+
// mayapp/process/gc_sys 42
6062
// mayapp/process/heap_alloc 42
6163
// mayapp/process/heap_idle 42
6264
// mayapp/process/heap_inuse 42
6365
// mayapp/process/heap_objects 42
6466
// mayapp/process/heap_release 42
67+
// mayapp/process/last_gc_finished_timestamp 42
6568
// mayapp/process/memory_alloc 42
6669
// mayapp/process/memory_frees 42
6770
// mayapp/process/memory_lookups 42
6871
// mayapp/process/memory_malloc 42
72+
// mayapp/process/next_gc_heap_size 42
73+
// mayapp/process/num_forced_gc 42
74+
// mayapp/process/num_gc 42
75+
// mayapp/process/other_sys 42
76+
// mayapp/process/pause_total 42
6977
// mayapp/process/stack_inuse 42
7078
// mayapp/process/stack_mcache_inuse 42
7179
// mayapp/process/stack_mspan_inuse 42

0 commit comments

Comments
 (0)