Updated on 2022-09-05 GMT+08:00

DMS Metrics

Function

This section describes DMS metrics reported to Cloud Eye as well as their namespace and dimensions. You can use the Cloud Eye console or APIs to query the DMS metrics and alarms.

For more information about the namespace and dimensions, see the "Querying Monitoring Data" section in the Cloud Eye API Reference.

Namespace

SYS.DMS

Standard Queue Metrics

Table 1 Standard queue metrics

Metric ID

Metric

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

queued_messages

Queued Messages

The current number of messages in a queue.

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

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.

Unit: count

≥ 0

Standard queue

1 minute

message_size

Message Size

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

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

Unit: byte

≥ 0

Standard queue

1 minute

request_count

Request Count

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

Unit: count

≥ 0

Standard queue

1 minute

Table 2 Metrics of consumer groups in standard queues

Metric ID

Metric

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

dead_avail_messages

Accumulated Messages

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

Messages older than 72 hours will be deleted from the queue. Deleted messages can no longer be retrieved by a consumer group and therefore are not included in the count.

Dead letter messages are flagged as retrieved messages and therefore are not included in the count.

Unit: count

≥ 0

Consumer group of a standard queue

1 minute

consumed_messages

Retrieved Messages

The accumulated number of messages retrieved by a consumer group.

The count is accumulated since a consumer group is created.

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

Unit: count

≥ 0

Consumer group of a standard queue

1 minute

skipped_messages

Skipped Messages

Accumulated number of messages that have been deleted and never retrieved.

The count is accumulated since a consumer group is created.

Messages are stored for at least 72 hours. Messages older than 72 hours will be deleted from the queue. Deleted messages can no longer be retrieved by a consumer group.

Unit: count

≥ 0

Consumer group of a standard queue

1 minute

dead_avail_messages

Available Dead Letter Messages

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

Messages older than 72 hours will be deleted from the queue. Deleted messages can no longer be retrieved by a consumer group and therefore are not included in the count.

Unit: count

≥ 0

Consumer group of a standard queue

1 minute

dead_his_messages

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.

Unit: count

≥ 0

Consumer group of a standard queue

1 minute

Advanced Queue Metrics

Table 3 Advanced queue metrics

Metric ID

Metric

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

queued_messages

Queued Messages

The current number of messages in a queue.

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

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.

Unit: count

≥ 0

Advanced queue

1 minute

message_size

Message Size

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

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

Unit: byte

≥ 0

Advanced queue

1 minute

request_count

Request Count

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

Unit: count

≥ 0

Advanced queue

1 minute

Table 4 Metrics of consumer groups in advanced queues

Metric ID

Metric

Description

Value Range

Monitored Object

Monitoring Period (Raw Data)

dead_avail_messages

Accumulated Messages

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

Messages older than 72 hours will be deleted from the queue. Deleted messages can no longer be retrieved by a consumer group and therefore are not included in the count.

Dead letter messages are flagged as retrieved messages and therefore are not included in the count.

Unit: count

≥ 0

Consumer group of an advanced queue

1 minute

Dimensions

Key

Description

queue_instance_id

Queue ID

group_instance_id

Consumer group ID