SAService Architect Open designer
SAService ArchitectDocumentation
Grafana dashboard 11_runtime.jsonnet ยท Rust / Tokio

Tokio Runtime Monitoring with Prometheus and Grafana

Tokio scheduler capacity, workload, queue pressure, and worker behavior for a generated Rust 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.

Panels properties

Panels included in this dashboard.

PropertyTypeDescription
Workers and Live TasksPanel

Tokio worker count compared with currently alive async tasks.

Worker Busy RatioPanel

Share of time runtime workers spend executing tasks.

Global Queue DepthPanel

Tasks waiting in the Tokio global injection queue.

Worker Busy Duration per intervalPanel

Worker execution time accumulated during each observation interval.

Worker Parks per intervalPanel

How often workers park while waiting for work.

Configuration example

make grafana-dashboards