Stackstate-Go Expvar Integration

Use the Stackstate Expvar Agent check to:

  • Get information and monitor into your application memory usage
  • Instrument your own metrics
  • An example configration file for GO Expvar can be found here

For more details about configuring this integration refer to the following file(s) on GitHub:

Metrics

go_expvar.memstats.alloc
(gauge)
Bytes allocated and not yet freed
shown as byte
go_expvar.memstats.frees
(gauge)
Number of frees
shown as operation
go_expvar.memstats.heap_alloc
(gauge)
Bytes allocated and not yet freed
shown as byte
go_expvar.memstats.heap_idle
(gauge)
Bytes in idle spans
shown as byte
go_expvar.memstats.heap_inuse
(gauge)
Bytes in non-idle spans
shown as byte
go_expvar.memstats.heap_objects
(gauge)
Total number of allocated objects
shown as item
go_expvar.memstats.heap_released
(gauge)
Bytes released to the OS
shown as byte
go_expvar.memstats.heap_sys
(gauge)
Bytes obtained from system
shown as byte
go_expvar.memstats.lookups
(gauge)
Number of pointer lookups
shown as operation
go_expvar.memstats.mallocs
(gauge)
Number of mallocs
shown as operation
go_expvar.memstats.num_gc
(gauge)
Number of garbage collections
shown as garbage collection
go_expvar.memstats.pause_ns.95percentile
(gauge)
95th percentile of recent GC pause durations
shown as nanosecond
go_expvar.memstats.pause_ns.avg
(gauge)
Average of recent GC pause durations
shown as nanosecond
go_expvar.memstats.pause_ns.count
(rate)
Number of submitted GC pause durations
shown as sample/second
go_expvar.memstats.pause_ns.max
(gauge)
Max GC pause duration
shown as nanosecond
go_expvar.memstats.pause_ns.median
(gauge)
Median GC pause duration
shown as nanosecond
go_expvar.memstats.pause_total_ns
(gauge)
Total GC pause duration over lifetime of process
shown as nanosecond
go_expvar.memstats.total_alloc
(gauge)
Bytes allocated (even if freed)
shown as byte