GoLang
Setup
For instructions on how to instrument a Go application with Prometheus exporter, please refer to this page
Metrics and Key Performance Indicators (KPIs)
Metric | KPI |
---|---|
Metric | KPI |
Memory | Utilization in k8s
Utilization in non k8s
|
CPU
| Utilization in k8s
Utilization in non k8s
|
Dashboard
In addition to the above KPIs, the following Go runtime metrics are also visualized in Go KPI Dashboard
Memory
Heap Memory
go_memstats_heap_alloc_bytes
Off-Heap Memory
go_memstats_mspan_inuse_bytes
Stack Memory
go_memstats_stack_inuse_bytes
Total Memory
go_memstats_sys_bytes
Objects, Allocations, and GC
Live Object Count
go_memstats_mallocs_total-go_memstats_frees_total
Object Allocation Rate
rate(go_memstats_mallocs_total
)Memory Allocation Rate
rate(go_memstats_alloc_bytes_total)
GC Duration Quantiles
go_gc_duration_seconds
Go Routines and pointers
Number of routines
go_goroutines
Number of pointer dereferences
rate(go_memstats_lookups_total)
Last updated