SAService Architect Back to designer
SAService ArchitectDocumentation
Grafana dashboard 05_pools.jsonnet

Task Pools

Compares queue pressure, executor state, throughput, latency, cancellation, rejection, expiry, and shutdown behavior for every pool configured in the designer.

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.

Task pool properties

Panels included in this dashboard.

PropertyTypeDescription
Queue LengthPanel

Current number of queued tasks.

Executor StatePanel

Current pool executor lifecycle state.

Task RatePanel

Task submission or execution rate.

Execution Duration p50 / p95 / p99Panel

Task execution latency percentiles.

Stop Timeout EventsPanel

Pool shutdowns that exceeded the configured stop timeout.

Rejected Tasks RatePanel

Tasks rejected because they could not be accepted.

Cancelled Tasks RatePanel

Tasks cancelled before normal completion.

Priority task pool properties

Panels included in this dashboard.

PropertyTypeDescription
Queue LengthPanel

Queued priority tasks.

Executor StatePanel

Current priority executor state.

Task RatePanel

Priority task processing rate.

Execution Duration p50 / p95 / p99Panel

Priority task execution percentiles.

Stop Timeout EventsPanel

Priority pool shutdown timeouts.

Rejected Tasks RatePanel

Rejected priority tasks.

Expired Tasks RatePanel

Tasks whose deadline or lifetime expired before execution.

Delay pool properties

Panels included in this dashboard.

PropertyTypeDescription
Wait Queue LengthPanel

Tasks waiting for their scheduled delay to elapse.

Task RatePanel

Delayed task processing rate.

Execution Duration p50 / p95 / p99Panel

Execution latency after delayed tasks become runnable.

Cancelled Tasks RatePanel

Delayed tasks cancelled before execution.

Stop Timeout EventsPanel

Delay-pool shutdown timeouts.

Configuration example

$job -> pool