Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to migrate to a message broker in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

Setup

To set up the AWS integration and discover the AWS MQ Broker service, do the following:

  1. Create an AWS Integration if not available in your installed integrations. For more information on how to install the AWS Integration, refer to Installation and Configuration.
  2. Create a discovery profile. For more information on discovery profiles, refer to Create Discovery Profile.
  3. Select MQ Broker in the FILTER BY RESOURCE TYPE.
AWS Integration Discovery Profile

AWS Integration Discovery Profile

  1. Save the discovery profile to make them available in the list of Discovery Profiles.
  2. Scan to discover the resources at any time independent of the predefined schedule.
  3. Once the scan is completed, you can view the MQ Broker resources under Infrastructure > Resources > AWS category.

Event support

CloudTrail event support

  • Supported (CreateBroker, DeleteBroker)
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

External reference

What Is Amazon MQ?

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitDescriptionAggregation Type
aws_amazonmq_NetworkInNetworkInNetwork InBytesThe volume of incoming traffic for the broker.Sum
aws_amazonmq_NetworkOutNetworkOutNetwork OutBytesThe volume of outgoing traffic for the broker.Sum
aws_amazonmq_OpenTransactionCountOpenTransactionCountOpen Transaction CountCountThe total number of transactions in progress.Sum
aws_amazonmq_StorePercentUsageStorePercentUsageStore Percent UsagePercentThe percent used by the storage limit. If this count reaches 100%, the broker will refuse the messages.Average
aws_amazonmq_TotalConsumerCountTotalConsumerCountTotal Consumer CountCountThe number of message consumers subscribed to the destinations in the current broker.Sum
aws_amazonmq_TotalMessageCountTotalMessageCountTotal Message CountCountThe number of messages stored in the broker.Sum
aws_amazonmq_TotalProducerCountTotalProducerCountTotal Producer CountCountThe number of message producers active on destinations in the current broker.Sum
aws_amazonmq_CpuCreditBalanceCpuCreditBalanceCpu Credit BalanceCountThe number of earned CPU credits that an instance has accrued since it was launched or started (including the number of launch credits).Sum
aws_amazonmq_CpuUtilizationCpuUtilizationCpu UtilizationPercentThe percentage of allocated EC2 compute units that the broker currently uses.Average
aws_amazonmq_CurrentConnectionsCountCurrentConnectionsCountCurrent Connections CountCountThe current number of active connections on the current broker.Sum
aws_amazonmq_EstablishedConnectionsCountEstablishedConnectionsCountEstablished Connections CountCountThe total number of connections, active and inactive, that have been established on the broker.Sum
aws_amazonmq_InactiveDurableTopicSubscribersCountInactiveDurableTopicSubscribersCountInactive Durable Topic Subscribers CountCountThe number of inactive durable topic subscribers, up to a maximum of 2000.Sum
aws_amazonmq_JournalFilesForFastRecoveryJournalFilesForFastRecoveryJournal Files For Fast RecoveryCountThe number of journal files that will be replayed after a clean shutdown.Sum
aws_amazonmq_JournalFilesForFullRecoveryJournalFilesForFullRecoveryJournal Files For Full RecoveryCountThe number of journal files that will be replayed after an unclean shutdown.Sum
aws_amazonmq_HeapUsageHeapUsageHeap UsagePercentThe percentage of the ActiveMQ JVM memory limit that the broker currently uses.Average
aws_amazonmq_BurstBalanceBurstBalanceBurst BalancePercentThe remaining percentage of the underlying storage layers Amazon EBS volume burst credits.Average
aws_amazonmq_VolumeReadOpsVolumeReadOpsVolume ReadOpsCountThe number of read operations performed on the Amazon EBS volume.Sum
aws_amazonmq_VolumeWriteOpsVolumeWriteOpsVolume WriteOpsCountThe number of write operations performed on the Amazon EBS volume.Sum
aws_amazonmq_ConsumerCountConsumerCountConsumer CountCountThe number of consumers subscribed to the destination.Average
aws_amazonmq_EnqueueCountEnqueueCountEnqueue CountCountThe number of messages sent to the destination, per minute.Average
aws_amazonmq_EnqueueTimeEnqueueTimeEnqueue TimeMillisecondsThe end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.Average
aws_amazonmq_ExpiredCountExpiredCountExpired CountCountThe number of messages that could not be delivered because they expired, per minute.Average
aws_amazonmq_DispatchCountDispatchCountDispatch CountCountThe number of messages sent to consumers, per minute.Average
aws_amazonmq_DequeueCountDequeueCountDequeue CountCountThe number of messages acknowledged by consumers, per minute.Average
aws_amazonmq_InFlightCountInFlightCountInFlight CountCountThe number of messages sent to consumers that have not been acknowledged.Average
aws_amazonmq_ReceiveCountReceiveCountReceive CountCountThe number of messages that have been received from the remote broker for a duplex network connector.Average
aws_amazonmq_MemoryUsageMemoryUsageMemory UsagePercentThe percentage of the memory limit that the destination currently uses.Average
aws_amazonmq_ProducerCountProducerCountProducer CountCountThe number of producers for the destination.Average
aws_amazonmq_TotalEnqueueCountTotalEnqueueCountTotal Enqueue CountCountThe total number of messages that have been sent to the broker.Average
aws_amazonmq_TotalDequeueCountTotalDequeueCountTotal Dequeue CountCountThe total number of messages that have been consumed by clients.Average
aws_amazonmq_QueueSizeQueueSizeQueue SizeCountThe number of messages in the queue.Average