Statistics

Diameter Statistics

The Diameter service provides the following core statistics for each endpoint:

Field Type Description
n2jslee.diameter.messages_received Counter Tracks the number of messages received by the endpoint.
n2jslee.diameter.messages_sent Counter Tracks the number of messages received by the endpoint.
n2jslee.diameter.message_response_queue Gauge Shows the current amount of messages received that have not been sent a reply.
n2jslee.diameter.internal_request_latency_ms Distribution Summary Tracks the latency for the internal processing of a diameter message.
n2jslee.diameter.network_latency_ms Distribution Summary Tracks the latency for the network response of an outgoing diameter message.
n2jslee.diameter.credit_control.sub_session_requests Counter Tracks the number of credit control sub session requests received.
n2jslee.diameter.credit_control.sub_session_responses Counter Tracks the number of credit control sub session responses sent
n2jslee.diameter.credit_control.root_sessions Gauge Shows the current amount of credit control root sessions which are being managed by the endpoint.
n2jslee.diameter.credit_control.sub_sessions Gauge Shows the current amount of messages sent to external entities that have not received a reply.
n2jslee.diameter.credit_control.sub_session_request_latency_ms Distribution Summary Tracks the latency for internal processing of a credit control sub session.

Each statistic includes tags to track different subtotals for each above statistic.

General Tags

The following tags are included on every statistic:

Tag Description
node The configured name of the node the service is running on.
service The configured name of the Diameter service.
endpoint The configured endpoint name.

Specific Tags

The following tags are statistic-specific:

Tag Description
command_code Used to count the number of times each command code is sent or received.
request_type Included for INITIAL, UPDATE, TERMINATE, and EVENT. Used to count the number of times each request type is sent or received.
service_identifier Included for sms, data, voice, and rar. Used to count the number of times each service type is sent or received.
result_code Used to count the number of times each result code is sent or received.

Grafana Dashboards

Often the JSLEE will be integrated to Grafana, via Prometheus. A sample dashboard is included in the JSLEE for Grafana, capturing the key statistics relevant for Diameter HPP relay and credit-control deployments.

This dashboard is available at /opt/nsquared/jslee/etc/grafana_dashboard_diameter_hpp.json, and this can be imported into Grafana version 8 or later.

Diameter HPP Grafana dashboard