> 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-api-latency.md).

# api-latency dashboard

**api-latency** Grafana dashboard shows latency and throughput for every API surface that Session Management Controller (SMC) talks to: inbound GTP-C, PFCP, and HTTP OAM, and outbound GTP-C paths, PFCP, Diameter, and SBI. It is based on the metrics that SMC exposes and is pre-configured with one section per surface plus a load control admission row.

- [Inbound GTP-C](#inbound-gtp-c)
- [Inbound PFCP](#inbound-pfcp)
- [Inbound HTTP OAM](#inbound-http-oam)
- [Outbound GTP-C path](#outbound-gtp-c-path)
- [Outbound PFCP](#outbound-pfcp)
- [Outbound Diameter](#outbound-diameter)
- [Outbound SBI](#outbound-sbi)
- [Admission (all modes)](#admission-all-modes)

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

Each surface section is a collapsible row with three panels: percentiles over time (P50, P90, P95, P99, mean), request rate stacked by message type or method, and a latency heatmap.

For configuration and tuning of the admission path that drives the bottom row, see [Adaptive load control](https://docs.cennso.com/components/smc/latest/guides/load-control.md). For the per-metric reference, see [Metrics](https://docs.cennso.com/components/smc/latest/observability/metrics.md).

## Dashboard variables

The dashboard exposes the following variables at the top:

- `cluster` - Kubernetes cluster name.
- `namespace` - Kubernetes namespace running SMC.
- `pod` - SMC pod selector. Multi-value, defaults to `All`.

## Inbound GTP-C

This section shows latency and rate for incoming GTP-C requests SMC responds to.

This section shows information about inbound GTP-C, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **gtp_c_socket_request_duration_microseconds**.
- Request rate by message type - rate of inbound GTP-C requests stacked by `type` label (Create Bearer Request, Modify Bearer, and so on).
- Latency heatmap - rolling distribution of inbound GTP-C latency over the selected time range.
- Per-type P95 breakdown - splits Create Bearer Request, Modify Bearer, and the rest of GTP-C signalling into separate panels for fine-grained comparison.
- Load control context - rejection ratio, inflight current vs limit, and shed rate per queue. Useful for correlating SMC-facing latency with the admission decisions that drive it.

![Inbound GTP-C section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-inbound-gtp-c.png)

## Inbound PFCP

This section shows latency and rate for incoming PFCP requests SMC responds to.

This section shows information about inbound PFCP, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **pfcp_request_duration_microseconds**.
- Request rate by message type.
- Latency heatmap.

![Inbound PFCP section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-inbound-pfcp.png)

## Inbound HTTP OAM

This section shows latency and rate for incoming Operations, Administration, and Maintenance (OAM) HTTP requests.

This section shows information about inbound HTTP OAM, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **cowboy_request_duration_seconds**, the histogram emitted by the Cowboy HTTP server that runs SMC's OAM API.
- Request rate by HTTP method and response status class - rate of **cowboy_requests_total** grouped by `method` and `status_class`.
- Latency heatmap.

![Inbound HTTP OAM section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-inbound-http-oam.png)

## Outbound GTP-C path

This section shows round-trip-time and rate for GTP-C messages SMC sends to peers.

This section shows information about outbound GTP-C path RTT, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **gtp_path_rtt_milliseconds**.
- Request rate by peer and message type.
- Latency heatmap.

![Outbound GTP-C path section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-outbound-gtp-c-path.png)

## Outbound PFCP

This section shows latency and rate for outbound PFCP requests SMC sends to a User Plane Gateway (UPG).

This section shows information about outbound PFCP, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **pfcp_peer_response_milliseconds**.
- Request rate by peer.
- Latency heatmap.

![Outbound PFCP section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-outbound-pfcp.png)

## Outbound Diameter

This section shows latency and rate for outbound Diameter requests SMC sends to Authentication, Authorization, and Accounting (AAA), charging, and policy peers.

This section shows information about outbound Diameter, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **ergw_aaa_diameter_request_duration_milliseconds**.
- Request rate by application and message type.
- Latency heatmap.

![Outbound Diameter section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-outbound-diameter.png)

## Outbound SBI

This section shows latency and rate for Service-Based Interface (SBI) calls SMC sends through the SBI client.

This section shows information about outbound SBI, including:

- Percentiles over time - P50, P90, P95, P99, and mean of **ergw_sbi_client_request_duration_seconds**.
- Request rate by remote service.
- Latency heatmap.

![Outbound SBI section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-outbound-sbi.png)

## Admission (all modes)

This section shows the dispatcher metrics that apply in every admission mode (`adaptive`, `rate-limit`, and `rate-limit-observe`).

This section shows information about admission outcomes, including:

- Admission outcomes over time - rate of **ergw_admission_requests_admitted_total**, **ergw_admission_requests_shed_total**, **ergw_admission_requests_timeout_total**, and **ergw_admission_requests_queue_full_total**, all grouped by `queue` and `mode`. The four counters together cover every dispatcher decision; `_queue_full_total` is only populated in `adaptive` mode.
- Admission wait time - histogram percentiles from **ergw_admission_request_wait_microseconds**.

> [!NOTE]
> In `rate-limit` mode the **ergw_adaptive_*** metrics in the load control context strip on the inbound GTP-C row are silent. Use this Admission row to monitor admission outcomes in `rate-limit` mode.

![Admission (all modes) section](https://docs.cennso.com/api/assets/components/smc/latest/assets/dashboard-ergw-api-latency-h2-admission-all-modes.png)
