New announcements for Serverless, Network, RUM, and more from Dash! New announcements from Dash!

Amazon MQ

Crawler Crawler

Overview

Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud.

Enable this integration to see all of your Amazon MQ metrics in Datadog.

Setup

Installation

If you haven’t already, set up the Amazon Web Services integration first.

Metric collection

  1. In the AWS integration tile, ensure that MQ is checked under metric collection.

  2. Install the Datadog - AWS Amazon MQ integration.

Log collection

Enable logging

Configure Amazon MQ to send logs either to a S3 bucket or to Cloudwatch.

Note: If you log to a S3 bucket, make sure that amazon_mq is set as Target prefix.

Send logs to Datadog

  1. If you haven’t already, set up the Datadog log collection AWS Lambda function.
  2. Once the lambda function is installed, manually add a trigger on the S3 bucket or Cloudwatch log group that contains your Amazon MQ logs in the AWS console:

Data Collected

Metrics

aws.amazonmq.consumer_count
(count)
The number of consumers subscribed to the destination
aws.amazonmq.consumer_count.maximum
(count)
The maximum number of messages stored on the broker
aws.amazonmq.consumer_count.minimum
(count)
The minimum number of messages stored on the broker
aws.amazonmq.consumer_count.sum
(count)
The sum of number of messages stored on the broker
aws.amazonmq.cpu_credit_balance
(gauge)
The number of earned CPU credits that an instance has accrued since it was launched or started (including the number of launch credits).
aws.amazonmq.cpu_utilization
(gauge)
The percentage of allocated EC2 compute units that broker currently uses.
Shown as percent
aws.amazonmq.cpu_utilization.maximum
(gauge)
The maximum percentage of allocated EC2 compute units that broker currently uses.
Shown as percent
aws.amazonmq.cpu_utilization.minimum
(gauge)
The minimum percentage of allocated EC2 compute units that broker currently uses.
Shown as percent
aws.amazonmq.cpu_utilization.sum
(gauge)
The sum of percentage of allocated EC2 compute units that broker currently uses.
Shown as percent
aws.amazonmq.current_connections_count
(count)
The current number of active connections on the current broker.
Shown as connection
aws.amazonmq.dequeue_count
(count)
The number of messages acknowledged by consumers.
Shown as message
aws.amazonmq.dequeue_count.maximum
(count)
The maximum number of messages acknowledged by consumers.
Shown as message
aws.amazonmq.dequeue_count.minimum
(count)
The minimum number of messages acknowledged by consumers.
Shown as message
aws.amazonmq.dequeue_count.sum
(count)
The sum of number of messages acknowledged by consumers.
Shown as message
aws.amazonmq.dispatch_count
(count)
The number of messages sent to consumers.
Shown as message
aws.amazonmq.dispatch_count.maximum
(count)
The maximum number of messages sent to consumers.
Shown as message
aws.amazonmq.dispatch_count.minimum
(count)
The minimum number of messages sent to consumers.
Shown as message
aws.amazonmq.dispatch_count.sum
(count)
The sum of number of messages sent to consumers.
Shown as message
aws.amazonmq.enqueue_count
(count)
The number of messages sent to the destination
Shown as message
aws.amazonmq.enqueue_count.maximum
(count)
The maximum number of messages sent to the destination
Shown as message
aws.amazonmq.enqueue_count.minimum
(count)
The minimum number of messages sent to the destination
Shown as message
aws.amazonmq.enqueue_count.sum
(count)
The sum of number of messages sent to the destination
Shown as message
aws.amazonmq.enqueue_time
(gauge)
The end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.
Shown as millisecond
aws.amazonmq.enqueue_time.maximum
(gauge)
The maximum end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.
Shown as millisecond
aws.amazonmq.enqueue_time.minimum
(gauge)
The minimum end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.
Shown as millisecond
aws.amazonmq.enqueue_time.sum
(gauge)
The sum of the end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.
Shown as millisecond
aws.amazonmq.established_connections_count
(count)
The total number of connections, active and inactive, that have been established on the broker.
Shown as connection
aws.amazonmq.expired_count
(count)
The number of messages that couldn't be delivered because they expired.
Shown as message
aws.amazonmq.expired_count.maximum
(count)
The maximum number of messages that couldn't be delivered because they expired.
Shown as message
aws.amazonmq.expired_count.minimum
(count)
The minimum number of messages that couldn't be delivered because they expired.
Shown as message
aws.amazonmq.expired_count.sum
(count)
The sum of number of messages that couldn't be delivered because they expired.
Shown as message
aws.amazonmq.heap_usage
(gauge)
The percentage of the ActiveMQ JVM memory limit that the broker currently uses
Shown as percent
aws.amazonmq.heap_usage.maximum
(gauge)
The maximum percentage of the ActiveMQ JVM memory limit that the broker currently uses
Shown as percent
aws.amazonmq.heap_usage.minimum
(gauge)
The minimum percentage of the ActiveMQ JVM memory limit that the broker currently uses
Shown as percent
aws.amazonmq.heap_usage.sum
(gauge)
The sum of percentage of the ActiveMQ JVM memory limit that the broker currently uses
Shown as percent
aws.amazonmq.in_flight_count
(count)
The number of messages sent to consumers that have not been acknowledged.
Shown as message
aws.amazonmq.in_flight_count.maximum
(count)
The maximum number of messages sent to consumers that have not been acknowledged.
Shown as message
aws.amazonmq.in_flight_count.minimum
(count)
The minimum number of messages sent to consumers that have not been acknowledged.
Shown as message
aws.amazonmq.in_flight_count.sum
(count)
The sum of messages sent to consumers that have not been acknowledged.
Shown as message
aws.amazonmq.inactive_durable_topic_subscribers_count
(count)
The number of inactive durable topic subscribers, up to a maximum of 2000.
aws.amazonmq.journal_files_for_fast_recovery
(count)
The number of journal files that will be replayed after a clean shutdown.
Shown as file
aws.amazonmq.journal_files_for_full_recovery
(count)
The number of journal files that will be replayed after an unclean shutdown.
Shown as file
aws.amazonmq.memory_usage
(gauge)
The percentage of memory limit that the destination currently uses
Shown as percent
aws.amazonmq.memory_usage.maximum
(gauge)
The maximum percentage of memory limit that the destination currently uses
Shown as percent
aws.amazonmq.memory_usage.minimum
(gauge)
The minimum percentage of memory limit that the destination currently uses
Shown as percent
aws.amazonmq.memory_usage.sum
(gauge)
The sum of percentage of memory limit that the destination currently uses
Shown as percent
aws.amazonmq.network_in
(gauge)
The volume of incoming traffic for the broker
Shown as byte
aws.amazonmq.network_in.maximum
(gauge)
The maximum volume of incoming traffic for the broker
Shown as byte
aws.amazonmq.network_in.minimum
(gauge)
The minimum volume of incoming traffic for the broker
Shown as byte
aws.amazonmq.network_in.sum
(gauge)
The sum of volume of incoming traffic for the broker
Shown as byte
aws.amazonmq.network_out
(gauge)
The volume of outgoing traffic for the broker
Shown as byte
aws.amazonmq.network_out.maximum
(gauge)
The maximum volume of outgoing traffic for the broker
Shown as byte
aws.amazonmq.network_out.minimum
(gauge)
The minimum volume of outgoing traffic for the broker
Shown as byte
aws.amazonmq.network_out.sum
(gauge)
The sum of volumes of outgoing traffic for the broker
Shown as byte
aws.amazonmq.open_transaction_count
(count)
The total number of transactions in progress.
Shown as transaction
aws.amazonmq.producer_count
(count)
The number of producers for the destination.
aws.amazonmq.producer_count.maximum
(count)
The maximum number of producers for the destination.
aws.amazonmq.producer_count.minimum
(count)
The minimum number of producers for the destination.
aws.amazonmq.producer_count.sum
(count)
The sum of number of producers for the destination.
aws.amazonmq.queue_size
(count)
The number of messages in the queue.
Shown as message
aws.amazonmq.queue_size.maximum
(count)
The maximum number of messages in the queue.
Shown as message
aws.amazonmq.queue_size.minimum
(count)
The minimum number of messages in the queue.
Shown as message
aws.amazonmq.queue_size.sum
(count)
The sum of number of messages in the queue.
Shown as message
aws.amazonmq.receive_count
(count)
The number of messages that have been received from the remote broker for a duplex network connector.
Shown as message
aws.amazonmq.store_percent_usage
(gauge)
The percent used by the storage limit. If this reaches 100 the broker will refuse messages.
Shown as percent
aws.amazonmq.total_consumer_count
(count)
The number of message consumers subscribed to destinations on the current broker.
aws.amazonmq.total_message_count
(count)
The number of messages stored on the broker
Shown as message
aws.amazonmq.total_message_count.maximum
(count)
The maximum number of messages stored on the broker
Shown as message
aws.amazonmq.total_message_count.minimum
(count)
The minimum number of messages stored on the broker
Shown as message
aws.amazonmq.total_message_count.sum
(count)
The sum of number of messages stored on the broker
Shown as message
aws.amazonmq.total_producer_count
(count)
The number of message producers active on destinations on the current broker.

Each of the metrics retrieved from AWS will be assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.

Events

The AWS Amazon MQ integration does not include any events.

Service Checks

The AWS Amazon MQ integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.

Further Reading

Additional helpful documentation, links, and articles: