> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/smc/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/smc/latest/observability/dashboard-ergw-load-control.md).

# ergw-load-control dashboard

**ergw-load-control** Grafana dashboard shows the runtime state of the adaptive load control subsystem in Session Management Controller (SMC). It is based on the metrics that SMC exposes and is pre-configured with the following sections:

- [Rejector](#rejector)
- [Vegas auto-tuner](#vegas-auto-tuner)
- [Priority queue](#priority-queue)
- [Per-queue admission](#per-queue-admission)

The dashboard is bundled with the SMC Support chart and is disabled by default. Enable it under `dashboard.dashboards.ergw-load-control` in the support chart values. It is most useful when `loadControl.mode` is `adaptive` or `rate-limit-observe`; in `rate-limit` mode the panels report no data because the underlying metrics are not populated.

For metric definitions, see [Adaptive load control metrics](https://docs.cennso.com/components/smc/latest/observability/metrics.md#adaptive-load-control-metrics). For configuration and tuning, see [Adaptive load control](https://docs.cennso.com/components/smc/latest/guides/load-control.md).

## Dashboard variables

The dashboard exposes the following variables at the top:

- `cluster` - Kubernetes cluster name. Filters all panels by `k8s_cluster_name`.
- `namespace` - Kubernetes namespace running SMC.
- `pod` - SMC pod selector. Multi-value, defaults to `All`.
- `lc_instance` - the `ergw_adaptive` coordinator instance label. Multi-value, defaults to `All`. Most deployments use a single instance named `default`.

## Rejector

This section visualises the velocity-form proportional-integral-derivative (PID) controller that decides what fraction of traffic to shed.

This section shows information about the rejector state, including:

- Rejection ratio over time - tracks **ergw_adaptive_rejection_ratio**. Sustained values above zero indicate the controller is shedding traffic.
- Rejection threshold over time - tracks **ergw_adaptive_rejection_threshold**. The threshold is a priority cut-off; values close to `512` mean almost all traffic is admitted, values close to `0` mean almost all traffic is shed.

A healthy steady state shows both signals flat near their idle values. A sudden ratio increase paired with a falling threshold means the controller is responding to overload.

![Rejector section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-load-control-h2-rejector.png)

## Vegas auto-tuner

This section visualises the concurrency limit that Vegas computes from observed processing latency.

This section shows information about the auto-tuner state, including:

- Inflight limit and current concurrency - tracks **ergw_adaptive_inflight_limit** and **ergw_adaptive_inflight_current** on a single plot.
- 90th percentile latency - tracks **ergw_adaptive_latency_p90_microseconds**. Compare against the long-term baseline to see when Vegas is reacting.

The expected healthy state has the inflight limit stable and well above the current concurrency. A monotonically falling limit usually indicates rising backend latency; investigate using the api-latency dashboard.

![Vegas auto-tuner section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-load-control-h2-vegas-auto-tuner.png)

## Priority queue

This section visualises the priority queue that buffers admitted requests when the inflight limit is reached.

This section shows information about the queue state, including:

- Queue waiters - tracks **ergw_adaptive_queue_waiters**. Sustained non-zero values indicate the inflight limit is binding.
- Queue timeouts - tracks the rate of **ergw_adaptive_queue_timeouts_total**. A growing rate means waiters are reaching `max_wait` before getting a slot.

![Priority queue section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-load-control-h2-priority-queue.png)

## Per-queue admission

This section breaks down admission outcomes by request class (`create`, `delete`, `data`, `other`).

This section shows information about per-queue admission rates, including:

- Shed rate - tracks the rate of **ergw_adaptive_requests_shed_total** broken down by `queue` label.
- Admitted rate - tracks the rate of **ergw_adaptive_requests_admitted_total** broken down by `queue` label.

Use this section to confirm that the priority model is shedding the expected classes first under overload (`create` first, `delete` last).

> [!NOTE]
> In `rate-limit-observe` mode these panels reflect **shadow** decisions of the adaptive stack, not actual admission. To compare against actual `jobs`-based admission, look at the per-outcome dispatcher counters (**ergw_admission_requests_admitted_total**, **_shed_total**, **_timeout_total**, **_queue_full_total**) in the api-latency dashboard.

![Per-queue admission section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-load-control-h2-per-queue-admission.png)
