CDM Node Grafana dashboard
CDM Node Grafana dashboard helps you visualise and analyse data from the metrics that CDM Node exposes. By default, the CDM Node dashboard is pre-configured with the following sections:
- OS Metrics
- Throughput
- Client Metrics
- JetStream
- JetStream Memory
- JetStream Storage
Read the sections below to learn what information you can get from each Grafana dashboard panel.
OS Metrics
This section shows operating system-level resource usage for CDM Node server pods, including:
-
Server CPU - CPU usage percentage for each CDM Node server pod over time
Use this panel to identify pods under high CPU load. Sustained high CPU usage may indicate resource saturation or unexpected traffic spikes that require investigation.
-
Server Memory - amount of memory used by each CDM Node server pod over time
Use this panel to track memory consumption trends. Continuously growing memory usage may indicate a memory leak or insufficient memory limits.

Throughput
This section shows the rate of data and messages flowing through CDM Node in a specified period, including:
-
Bytes In - rate of incoming bytes received by each CDM Node server pod
Use this panel to monitor the inbound data volume and identify any unusual spikes or drops in incoming traffic.
-
NATS Msgs In - rate of incoming NATS messages received by each CDM Node server pod
Use this panel alongside Bytes In to understand the ratio of message size to volume. A high message rate with low byte throughput indicates many small messages.
-
Bytes Out - rate of outgoing bytes sent by each CDM Node server pod
Use this panel to monitor outbound data volume and correlate it with Bytes In to identify any imbalances between incoming and outgoing traffic.
-
NATS Msgs Out - rate of outgoing NATS messages sent by each CDM Node server pod
Use this panel to compare with NATS Msgs In and identify whether messages are being forwarded, dropped, or accumulated.

Client Metrics
This section shows metrics related to the clients connected to CDM Node, including:
-
Connections - number of active client connections to each CDM Node server pod at a given point in time
Use this panel to track the number of active clients. Sudden drops in connections may indicate client disconnections or CDM Node restarts.
-
Subscriptions - number of active subscriptions on each CDM Node server pod
Use this panel to understand subscription growth over time. An unexpectedly high number of subscriptions may indicate leaking subscriptions in connected clients.
-
Slow Consumers - number of slow consumers detected by each CDM Node server pod
Use this panel to identify slow consumers before message loss occurs. A slow consumer is a client that cannot keep up with the rate of incoming messages, causing the server to buffer or drop messages.

JetStream
This section shows general JetStream statistics for CDM Node, including:
-
Errors - rate of JetStream API errors reported by each CDM Node server pod
Use this panel to detect problems with JetStream operations. A sustained error rate requires investigation to identify whether the root cause is configuration, resource exhaustion, or client misbehaviour.
-
Accounts - number of JetStream accounts active on each CDM Node server pod
Use this panel to track the number of accounts using JetStream. Unexpected changes in account count may indicate misconfiguration or unintended account creation.

JetStream Memory
This section shows memory usage and limits for the JetStream subsystem on each CDM Node server pod, including:
-
Usage - amount of memory currently used by JetStream in bytes
-
Usage Pct - JetStream memory usage as a percentage of the configured limit
Note
IMPORTANT: This panel includes threshold indicators. Usage above 60% is highlighted in yellow, and above 80% in red. A value approaching 100% means JetStream has reached its memory limit, which will cause new messages to be rejected.
-
Limit - maximum memory that JetStream is allowed to use on each CDM Node server pod, as defined by the configuration
Use this panel alongside Usage and Usage Pct to evaluate whether the current memory limit is sufficient for your workload.

JetStream Storage
This section shows disk storage usage and limits for the JetStream subsystem on each CDM Node server pod.
-
Usage - amount of disk storage currently used by JetStream in bytes
-
Usage Pct - JetStream storage usage as a percentage of the configured limit
Use this panel to monitor how close the storage is to capacity. When storage is full, JetStream cannot persist new messages and will reject writes.
-
Limit - maximum disk storage that JetStream can use on each CDM Node server pod, as defined by the configuration.
Use this panel alongside Usage and Usage Pct to evaluate whether the current storage limit is sufficient for your workload.
