11_runtime.jsonnet · GoGo Runtime
Go scheduler, heap, garbage collector, and operating-system process health for a generated Go service.
When to use
Use this page to understand the generated dashboard, its panels, and the signals behind them.
Behavior
- The code generator creates Jsonnet sources for every generated service.
make grafana-dashboardsrenders them to Grafana JSON.
Scheduler and memory properties
Panels included in this dashboard.
GoroutinesPanelCurrent goroutine count.
OS ThreadsPanelOperating-system threads created by the Go runtime.
Heap AllocatedPanelHeap bytes currently allocated to live objects.
Heap In Use vs IdlePanelHeap spans used by objects compared with retained idle spans.
Heap Reserved / SysPanelMemory obtained from the operating system for the heap.
Stack In UsePanelMemory used for goroutine stacks.
Heap ObjectsPanelCurrent live heap object count.
Total Alloc RatePanelRate of bytes allocated by the application.
Garbage collection and process properties
Panels included in this dashboard.
GC Pause p50 / p75 / maxPanelGarbage collector stop-the-world pause distribution.
GC Runs/secPanelGarbage collection frequency.
Next GC TargetPanelHeap-size target that triggers the next collection.
GC Target and Runtime ParallelismPanelConfigured GC target together with Go scheduler parallelism.
CPU and memoryPanelProcess CPU, resident memory, and virtual memory.
Open FDs and Process StartPanelOpen file descriptors and process start time.
Configuration example
make grafana-dashboards