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

Commit

Permalink
Adding GC stats to runmetrics plugin (#1207)
Browse files Browse the repository at this point in the history
* use derived cumulative where applicable
* add a flag to control derived cumulatives
  • Loading branch information
TrevinTeacutter committed Feb 12, 2021
1 parent 13369a4 commit 49838f2
Show file tree
Hide file tree
Showing 3 changed files with 419 additions and 14 deletions.
8 changes: 8 additions & 0 deletions plugin/runmetrics/example_test.go
Expand Up @@ -57,15 +57,23 @@ func ExampleEnable() {
// output:
// mayapp/process/cpu_cgo_calls 42
// mayapp/process/cpu_goroutines 42
// mayapp/process/gc_cpu_fraction 42
// mayapp/process/gc_sys 42
// mayapp/process/heap_alloc 42
// mayapp/process/heap_idle 42
// mayapp/process/heap_inuse 42
// mayapp/process/heap_objects 42
// mayapp/process/heap_release 42
// mayapp/process/last_gc_finished_timestamp 42
// mayapp/process/memory_alloc 42
// mayapp/process/memory_frees 42
// mayapp/process/memory_lookups 42
// mayapp/process/memory_malloc 42
// mayapp/process/next_gc_heap_size 42
// mayapp/process/num_forced_gc 42
// mayapp/process/num_gc 42
// mayapp/process/other_sys 42
// mayapp/process/pause_total 42
// mayapp/process/stack_inuse 42
// mayapp/process/stack_mcache_inuse 42
// mayapp/process/stack_mspan_inuse 42
Expand Down

0 comments on commit 49838f2

Please sign in to comment.