Azure Service Bus monitoring integration

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

New Relic Infrastructure provides an integration for Microsoft Azure Service Bus that reports data from your Azure Service Bus service to New Relic products. This document explains how to activate this integration and describes the data that can be captured.

Features

New Relic's integration for Azure Service Bus reports metric data about your Service Bus service, like the number of messages in the queue, the number of dead letter messages, and the byte size of the queue. It also collects inventory data about the status and configuration of the service.

You can monitor and alert on your Azure Service Bus data from New Relic Infrastructure, and you can create custom queries and chart dashboards in New Relic Insights.

Requirements

Requirements include:

Activate integration

To enable this integration:

  1. Make sure you have installed the Infrastructure agent before you activate Azure integrations from your Infrastructure account.
  2. Follow standard procedures to activate your Azure service in New Relic Infrastructure.

Configuration and polling

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

Default polling information for the Service Bus integration:

  • Polling interval: 5 minutes
  • Resolution: 1 data point per minute

Find and use data

To find your integration data in Infrastructure, go to infrastructure.newrelic.com > Integrations and look for the integration.

In New Relic Insights, Service Bus data is attached to these event types:

For the list of inventory data, see Inventory.

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

Metric data

There are several sets of metrics reported by the Azure Service Bus integration. For more about how data is structured and reported to New Relic, see Understand and use integration data.

Namespace sample metrics

Namespace metrics are only collected if you have the Service Bus Messaging Premium tier.

Metric Description
CPUXNS Service Bus premium namespace CPU usage metric indicating maximum percentage used.
WSXNS Service Bus premium namespace memory usage metric indicating maximum percentage used.

Queue sample metrics

Metric Description
activeMessages Total number of active messages in the queue, topic, or subscription.
currentSizeBytes The total size of the queue, in bytes.
deadLetterMessages The total number of messages that are dead lettered.
messages The total number of messages in the queue.
scheduledMessages The total number of scheduled messages.
transferDeadLetterMessages The total number of messages transferred into dead letters.
transferMessages The total number of messages transferred to another queue, topic, or subscription.

Subscription sample metrics

Metric Description
activeMessages Total number of active messages in the queue, topic, or subscription.
deadLetterMessages The total number of messages that are dead lettered.
messages The total number of messages in the queue.
scheduledMessages The total number of scheduled messages.
transferDeadLetterMessages The total number of messages transferred into dead letters.
transferMessages The total number of messages transferred to another queue, topic, or subscription.

Topic sample metrics

Metric Description
activeMessages Total number of active messages in the queue, topic, or subscription.
currentSizeBytes The total size of the queue, in bytes.
deadLetterMessages The total number of messages that are dead lettered.
messages The total number of messages in the queue.
scheduledMessages The total number of scheduled messages.
transferDeadLetterMessages The total number of messages transferred into dead letters.
transferMessages The total number of messages transferred to another queue, topic, or subscription.

Inventory data

Inventory data is information about your system's state and configuration. For details on how to find and use inventory data, see Understand and use data.

The Azure Service Bus integration reports this inventory data:

azure/servicebus/namespace inventory:

  • dnsLabel
  • fqdn
  • resourceGroupName (deprecates ResourceGroup)
  • skuCapacity
  • skuName
  • skuTier

azure/servicebus/queue inventory:

  • batchedOperationsEnabled
  • deadLetteringEnabledForExpiredMessages
  • defaultMessageTtlDuration
  • deleteOnIdleDurationInMinutes
  • duplicateDetectionEnabled
  • duplicateMessageDetectionHistoryDuration
  • expressEnabled
  • lockDurationInSeconds
  • maxDeliveryCountBeforeDeadLetteringMessage
  • partitioningEnabled
  • sessionEnabled
  • status

azure/servicebus/subscription inventory:

  • batchedOperationsEnabled
  • deadLetteringEnabledForExpiredMessages
  • deadLetteringEnabledForFilterEvaluationFailedMessages
  • defaultMessageTtlDuration
  • deleteOnIdleDurationInMinutes
  • lockDurationInSeconds
  • maxDeliveryCountBeforeDeadLetteringMessage
  • resourceGroupName
  • sessionEnabled
  • status

azure/servicebus/topic inventory:

  • batchedOperationsEnabled
  • defaultMessageTtlDuration
  • deleteOnIdleDurationInMinutes
  • duplicateDetectionEnabled
  • duplicateMessageDetectionHistoryDuration
  • expressEnabled
  • partitioningEnabled
  • resourceGroupName
  • status

For more help

Recommendations for learning more: