PCS sessions metrics
Tip
TPOSS exposes these metrics only when it manages sessions, so they are absent in an HSS-only deployment if the hss.enabled configuration option is set to true. The rating_group_total counters are only available when diameter.enabled = true and session.backend = mysql are set.
For the metrics endpoint, the export formats, and the conventions that apply to all the metrics, see the Metrics document.
TPOSS exposes the following PCS sessions metrics:
Check these metrics to see how many subscribers TPOSS serves at the moment. They are also useful for capacity planning, and for spotting sessions that are never terminated.
The sessions_GGSN metric labels are optional and depend on the value of the metrics.network_session_labels configuration option. If the value of the sessions.backend configuration option is set to mnesia, the metric does not have any labels. For more information, see the TPOSS ServiceMonitor and metrics configuration document.
Using the TPOSS chart, you can enable the PrometheusRule CROpens in a new tab that provides two additional metrics:
sessions_network_total- provides the total number of network sessions (see the sessions_GGSN metric).sessions_service_total- provides the total number of service sessions (see the sessions_scg metric).
Read the Prometheus recording rules configuration to learn more.
If TPOSS is configured for the legacy setup only with RADIUS communication (diameter.enabled = false and session.backend = mnesia), the following metrics represent the number of sessions with the given Access-Class: