Amazon MQ
Rapport de recherche Datadog : Bilan sur l'adoption de l'informatique sans serveur Rapport : Bilan sur l'adoption de l'informatique sans serveur

Amazon MQ

Crawler Crawler

Présentation

Amazon MQ est un service d’agent de messages géré pour Apache ActiveMQ qui facilite la configuration et l’utilisation des agents de messages dans le cloud.

Activez cette intégration pour visualiser dans Datadog toutes vos métriques d’Amazon MQ.

Implémentation

Installation

Si vous ne l’avez pas déjà fait, configurez d’abord l’intégration Amazon Web Services.

Collecte de métriques

  1. Dans le carré d’intégration AWS, assurez-vous que l’option MQ est cochée dans la section concernant la collecte des métriques.

  2. Installez l’intégration Datadog/AWS Amazon MQ.

Collecte de logs

Activer le logging

Configurez Amazon MQ de façon à ce que ses logs soient envoyés vers un compartiment S3 ou vers Cloudwatch.

Remarque : si vous envoyez vos logs vers un compartiment S3, assurez-vous que amazon_mq est défini en tant que Target prefix.

Envoyer des logs à Datadog

  1. Si vous ne l’avez pas déjà fait, configurez la fonction Lambda de collecte de logs AWS avec Datadog.
  2. Une fois la fonction Lambda installée, ajoutez manuellement un déclencheur sur le compartiment S3 ou sur le groupe de logs Cloudwatch qui contient vos logs Amazon MQ dans la console AWS :

Données collectées

Métriques

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.

Chacune des métriques récupérées à partir d’AWS se verra assigner les mêmes tags que ceux qui apparaissent dans la console AWS, y compris, mais sans s’y limiter, le hostname et les groupes de sécurité.

Événements

L’intégration AWS Amazon MQ n’inclut aucun événement.

Checks de service

L’intégration AWS Amazon MQ n’inclut aucun check de service.

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.

Pour aller plus loin

Documentation, liens et articles supplémentaires utiles: