SAService Architect Back to designer
SAService ArchitectDocumentation
Grafana dashboard 11_runtime.jsonnet · Go

Go 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-dashboards renders them to Grafana JSON.

Scheduler and memory properties

Panels included in this dashboard.

PropertyTypeDescription
GoroutinesPanel

Current goroutine count.

OS ThreadsPanel

Operating-system threads created by the Go runtime.

Heap AllocatedPanel

Heap bytes currently allocated to live objects.

Heap In Use vs IdlePanel

Heap spans used by objects compared with retained idle spans.

Heap Reserved / SysPanel

Memory obtained from the operating system for the heap.

Stack In UsePanel

Memory used for goroutine stacks.

Heap ObjectsPanel

Current live heap object count.

Total Alloc RatePanel

Rate of bytes allocated by the application.

Garbage collection and process properties

Panels included in this dashboard.

PropertyTypeDescription
GC Pause p50 / p75 / maxPanel

Garbage collector stop-the-world pause distribution.

GC Runs/secPanel

Garbage collection frequency.

Next GC TargetPanel

Heap-size target that triggers the next collection.

GC Target and Runtime ParallelismPanel

Configured GC target together with Go scheduler parallelism.

CPU and memoryPanel

Process CPU, resident memory, and virtual memory.

Open FDs and Process StartPanel

Open file descriptors and process start time.

Configuration example

make grafana-dashboards