AWS MQ integration

BETA

Access to this feature depends on your subscription level. Requires Infrastructure Pro.

New Relic Infrastructure's integrations include an integration for reporting your Amazon Web Services MQ data to New Relic products. This document explains how to activate this integration and describes the data that can be reported.

Activate integration

To enable this integration, follow standard procedures to connect AWS services to Infrastructure.

Configuration and polling

You can change the polling frequency and filter data using configuration options.

Default polling information for the AWS MQ integration:

  • New Relic polling interval: 5 minutes
  • Amazon CloudWatch data interval: 1 minute

View and query data

To view your integration data in Infrastructure, go to infrastructure.newrelic.com > AWS and select an integration.

In New Relic Insights, data is attached to the following event type:

Entity Event Type Provider
Broker AwsMqBrokerSample AwsMqBroker
Topic AwsMqTopicSample AwsMqTopic
Queue AwsMqQueueSample AwsMqQueue

For more on how to use your data, see Understand and use integration data.

Metric data

This integration records AWS MQ data for broker, topic, and queue entities.

MQ Broker data

Metric Unit Description

CpuCreditBalance

Count The number of earned CPU credits that an instance has accrued since it was launched or started (including the number of launch credits). The credit balance is available for the broker instance to spend on bursts beyond the baseline CPU utilization. This metric is available only for the mq.t2.micro broker instance type. CPU credit metrics are available only at five-minute intervals.

CpuUtilization

Percent The percentage of allocated EC2 compute units that the broker currently uses.

CurrentConnectionsCount

Count The current number of active connections on the current broker.

EstablishedConnectionsCount

Count The total number of connections, active and inactive, that have been established on the broker.

InactiveDurableTopicSubscribersCount

Count The number of inactive durable topic subscribers, up to a maximum of 2000.

JournalFilesForFastRecovery

Count The number of journal files that will be replayed after a clean shutdown.

JournalFilesForFullRecovery

Count The number of journal files that will be replayed after an unclean shutdown.

HeapUsage

Percent The percentage of the ActiveMQ JVM memory limit that the broker currently uses.

NetworkIn

Bytes The volume of incoming traffic for the broker.

NetworkOut

Bytes The volume of outgoing traffic for the broker.

OpenTransactionsCount

Count The total number of transactions in progress.

StorePercentUsage

Percent The percent used by the storage limit. If this reaches 100 the broker will refuse messages.

TotalConsumerCount

Count The number of message consumers subscribed to destinations on the current broker.

TotalMessageCount

Count The number of messages stored on the broker.

TotalProducerCount

Count The number of message producers active on destinations on the current broker.

MQ Topic data

Metric Unit Description

ConsumerCount

Count The number of consumers subscribed to the destination.

EnqueueCount

Count The number of messages sent to the destination, per minute.

EnqueueTime

Milliseconds The end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.

ExpiredCount

Count The number of messages that couldn't be delivered because they expired, per minute.

DispatchCount

Count The number of messages sent to consumers, per minute.

DequeueCount

Count The number of messages acknowledged by consumers, per minute.

ReceiveCount

Count The number of messages that have been received from the remote broker for a duplex network connector.

InFlightCount

Count The number of messages sent to consumers that have not been acknowledged.

MemoryUsage

Percent The percentage of the memory limit that the destination currently uses.

ProducerCount

Count The number of producers for the destination.

MQ Queue data

Metric Unit Description

ConsumerCount

Count The number of consumers subscribed to the destination.

EnqueueCount

Count The number of messages sent to the destination, per minute.

EnqueueTime

Milliseconds The end-to-end latency from when a message arrives at a broker until it is delivered to a consumer.

ExpiredCount

Count The number of messages that couldn't be delivered because they expired, per minute.

DispatchCount

Count The number of messages sent to consumers, per minute.

DequeueCount

Count The number of messages acknowledged by consumers, per minute.

ReceiveCount

Count The number of messages that have been received from the remote broker for a duplex network connector.

InFlightCount

Count The number of messages sent to consumers that have not been acknowledged.

MemoryUsage

Percent The percentage of the memory limit that the destination currently uses.

ProducerCount

Count The number of producers for the destination.

QueueSize

Count The number of messages in the queue.

For more help

Recommendations for learning more: