Golang fields

Golang module

golang fields

expvar fields

expvar

golang.expvar.cmdline

type: keyword

The cmdline of this Go program start with.

heap fields

The Go program heap information exposed by expvar.

golang.heap.cmdline

type: keyword

The cmdline of this Go program start with.

gc fields

Garbage collector summary.

total_pause fields

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: float

Fraction of CPU time used by GC.

pause fields

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

Total GC pause duration during this collect period.

golang.heap.gc.pause.sum.ns

type: long

Duration in Ns.

max fields

Max GC pause duration during this collect period.

golang.heap.gc.pause.max.ns

type: long

Duration in Ns.

avg fields

Average GC pause duration during this collect period.

golang.heap.gc.pause.avg.ns

type: long

Duration in Ns.

system fields

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

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.