> 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-beam.md).

# BEAM dashboard

**BEAM** Grafana dashboard shows core Erlang VM metrics for Session Management Controller (SMC). It is based on the metrics that the Erlang VM exposes through `prometheus.erl` and is pre-configured with the following sections:

- [Processes and load](#processes-and-load)
- [Memory and garbage collection](#memory-and-garbage-collection)
- [IO, file descriptors, and threads](#io-file-descriptors-and-threads)

The dashboard is bundled with the SMC Support chart and is disabled by default. Enable it under `dashboard.dashboards.beam` in the support chart values.

For the underlying Erlang VM metric reference, see [Erlang VM metrics](https://docs.cennso.com/components/smc/latest/observability/metrics.md#erlang-vm-metrics).

> [!NOTE]
> The BEAM dashboard reflects gateway-process health and is most useful for diagnosing non-functional issues such as high memory use, scheduler saturation, or runaway processes. For protocol-level diagnosis, use the [SMC Overview](https://docs.cennso.com/components/smc/latest/observability/dashboard-smc-overview.md) and per-API dashboards instead.

## Dashboard variables

The dashboard exposes the following variables at the top:

- `cluster` - Kubernetes cluster name.
- `node_namespace` - Kubernetes namespace running SMC.
- `node_pod` - SMC pod selector. Multi-value, defaults to `All`.
- `interval` - Aggregation interval for time-series panels.

## Processes and load

This section shows information about Erlang process counts and run-queue load, including:

- Processes - count of live Erlang processes over time. A persistent climb without a corresponding rise in traffic indicates processes accumulating faster than they terminate.
- Load - per-scheduler run-queue length. High and persistent values mean schedulers are starved; check whether `ERL_FLAGS` provides enough schedulers for the available CPU.
- Uptime - time since the BEAM process started.
- ETS/DETS - number of ETS / DETS tables and the total number of stored objects.

## Memory and garbage collection

This section shows information about runtime memory and garbage-collection activity, including:

- VM Memory - per-region memory usage (`processes`, `binary`, `code`, `ets`, `system`, `atom`).
- VM GC - garbage-collection rate and reclaim volume.
- OS Process Memory - resident set size (RSS) and virtual size (VSZ) of the BEAM operating-system process.

For detailed allocator-level analysis, switch to the [ERTS memory allocators](https://docs.cennso.com/components/smc/latest/observability/dashboard-beam-erts-memory-allocators.md) dashboard.

## IO, file descriptors, and threads

This section shows information about IO and OS-level resource usage, including:

- VM IO - bytes read and written by the BEAM IO subsystem.
- File Descriptors and Ports - count of open file descriptors and Erlang ports. Approaching the descriptor limit is a leading indicator that the application is opening sockets faster than it closes them.
- Native Threads and CPU - count of OS-level native threads in the BEAM process and per-thread CPU usage.
