• Distributed Message Service

dms
  1. Help Center
  2. Distributed Message Service
  3. User Guide
  4. Monitoring
  5. DMS Metrics

DMS Metrics

Standard Queue

Table 1 Monitoring metrics of standard queues

Dimension

Monitoring Metric

Description

Queue

Queued Messages

The current number of messages in a queue.

The following messages are not counted into the metric:

  • Messages older than 72 hours

    Messages older than 72 hours will be deleted from a queue and deleted messages are not counted into the metric.

  • Dead letter messages

    Dead letter messages are specific to consumer groups and stored in dead letter queues. Therefore, generation and expiry of dead letter messages do not affect the metric.

Message Size (Bytes)

The total size of messages sent to a queue during the previous one minute.

This metric gives you an overview of message load flowing into a queue.

Request Count

The total number of requests sent to a queue during the previous one minute.

Consumer group

Accumulated Messages

The current number of messages that are not retrieved by a consumer group.

The following messages are not counted into the metric:

  • Messages older than 72 hours

    Messages older than 72 hours will be deleted from a queue. Deleted messages can no longer be retrieved by a consumer group and therefore they are not counted into the metric.

  • Dead letter messages

    Dead letter messages are flagged as retrieved messages and therefore not counted into the metric.

Retrieved Messages

The accumulated number of messages retrieved by a consumer group since the consumer group is created.

Dead letter messages are counted into the metric because dead letter messages are flagged as retrieved messages.

Skipped Messages

The accumulated number of messages that are deleted and never retrieved. The count of skipped messages is accumulated since a consumer group is created.

Messages older than 72 hours will be deleted from a queue. Deleted messages can no longer be retrieved by a consumer group.

Available Dead Letter Messages

The current number of dead letter messages that are not retrieved by a consumer group.

Dead letter messages older than 72 hours will be deleted from a queue. Once deleted, dead letter messages can no longer be retrieved by a consumer group and therefore they are not counted into the metric.

Historical Dead Letter Messages

The accumulated number of dead letter messages generated for a consumer group since the consumer group is created.

The count of historical dead letter messages includes the retrieved dead letter messages, remaining dead letter messages, and expired dead letter messages.

Kafka Queue

Table 2 Monitoring metrics of Kafka queues

Dimension

Monitoring Metric

Description

Queue

Queued Messages

The current number of messages in a queue, excluding those deleted after the Message Retention Period (value range: 1 hour to 72 hours; default value: 72 hours).

Message Size (Bytes)

The total size of messages sent to a queue during the previous one minute.

This metric gives you an overview of message load flowing into a queue.

Request Count

The total number of requests sent to a queue during the previous one minute.

Consumer group

Accumulated Messages

The current number of messages that are not retrieved by a consumer group, excluding those deleted after the Message Retention Period (value range: 1 hour to 72 hours; default value: 72 hours).