Golang fields

edit

Golang module

golang fields

edit

expvar fields

edit

expvar

golang.expvar.cmdline

type: keyword

The cmdline of this golang program start with.

heap fields

edit

The golang program heap information exposed by expvar.

golang.heap.cmdline

type: keyword

The cmdline of this golang program start with.

gc fields

edit

Garbage collector summary.

total_pause fields

edit

Total GC pause duration over lifetime of process.

golang.heap.gc.total_pause.ns

type: long

Duration in Ns.

golang.heap.gc.total_count

type: long

Total number of GC was happened.

golang.heap.gc.next_gc_limit

type: long

format: bytes

Next collection will happen when HeapAlloc > this amount.

golang.heap.gc.cpu_fraction

type: long

Fraction of CPU time used by GC.

pause fields

edit

Last GC pause durations during the monitoring period.

golang.heap.gc.pause.count

type: long

Count of GC pause duration during this collect period.

sum fields

edit

Total GC pause duration during this collect period.

golang.heap.gc.pause.sum.ns

type: long

Duration in Ns.

max fields

edit

Max GC pause duration during this collect period.

golang.heap.gc.pause.max.ns

type: long

Duration in Ns.

avg fields

edit

Average GC pause duration during this collect period.

golang.heap.gc.pause.avg.ns

type: long

Duration in Ns.

system fields

edit

Heap summary,which bytes was obtained from system.

golang.heap.system.total

type: long

format: bytes

Total bytes obtained from system (sum of XxxSys below).

golang.heap.system.obtained

type: long

format: bytes

Via HeapSys, bytes obtained from system. heap_sys = heap_idle + heap_inuse.

golang.heap.system.stack

type: long

format: bytes

Bytes used by stack allocator, and these bytes was obtained from system.

golang.heap.system.released

type: long

format: bytes

Bytes released to the OS.

allocations fields

edit

Heap allocations summary.

golang.heap.allocations.mallocs

type: long

Number of mallocs.

golang.heap.allocations.frees

type: long

Number of frees.

golang.heap.allocations.objects

type: long

Total number of allocated objects.

golang.heap.allocations.total

type: long

format: bytes

Bytes allocated (even if freed) throughout the lifetime.

golang.heap.allocations.allocated

type: long

format: bytes

Bytes allocated and not yet freed (same as Alloc above).

golang.heap.allocations.idle

type: long

format: bytes

Bytes in idle spans.

golang.heap.allocations.active

type: long

format: bytes

Bytes in non-idle span.