---
title: AWS SNS monitoring integration
source: https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-sns-monitoring-integration
---

> #### ⚠️ IMPORTANT
>
> Enable the [AWS CloudWatch Metric Streams integration](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-metric-stream/) to monitor all CloudWatch metrics from your AWS services, including custom namespaces. Individual integrations are no longer our recommended option.

[Our infrastructure integrations](https://docs.newrelic.com/docs/infrastructure/introduction-infra-monitoring) include an integration for reporting your Amazon Web Services Simple Notification Service (SNS) data to New Relic. This document explains how to activate the integration and describes the data reported.

## Features [#features]

[AWS Simple Notification Service (SNS)](https://aws.amazon.com/sns/) is a managed push notification service. With New Relic's AWS SNS integration, data reported to New Relic includes:

-   Messages sent and failed counts
-   Subscriptions confirmed and deleted
-   Additional [metrics](#metrics)

SNS data is available in pre-built dashboards in New Relic. You can also create [custom queries and charts](https://docs.newrelic.com/docs/infrastructure/integrations-getting-started/getting-started/use-integration-data-new-relic-insights), and create [alert conditions](https://docs.newrelic.com/docs/infrastructure/new-relic-infrastructure/infrastructure-alert-conditions/infrastructure-alerts-add-edit-or-view-host-alert-information) to notify you of changes in SNS data.

## Activate integration [#activate]

To enable this integration follow standard procedures to [Connect AWS services to New Relic](https://docs.newrelic.com/docs/infrastructure/infrastructure-integrations/getting-started/connect-aws-integrations-infrastructure).

## Configuration and polling [#polling]

You can change the polling frequency and filter data using [configuration options](https://docs.newrelic.com/docs/integrations/new-relic-integrations/getting-started/configure-polling-frequency-data-collection-cloud-integrations). Default [polling](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-polling-intervals-infrastructure-integrations) information for the AWS SNS integration includes:

-   New Relic polling interval: 5 minutes
-   AWS SNS data interval: 5 minutes

## Find and use data [#find-data]

To explore your [integration data](https://docs.newrelic.com/docs/infrastructure/integrations/find-use-infrastructure-integration-data):

1.  Go to **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Infrastructure > AWS**.
2.  Select any of the available SNS integration links.

You can [query and explore your data](https://docs.newrelic.com/docs/using-new-relic/data/understand-data/query-new-relic-data) using the `QueueSample` [event type](https://docs.newrelic.com/docs/data-apis/understand-data/new-relic-data-types/#event-data), with a `provider` value of `SnsTopic`.

## Metric data [#metrics]

This integration collects the following metrics. For full descriptions of some of these metrics, see [AWS's SNS metrics and dimensions](http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/sns-metricscollected.html).

> #### 💡 TIP
>
> Metrics indicated with an asterisk `*` are only fetched if [extended inventory collection](https://docs.newrelic.com/docs/integrations/new-relic-integrations/getting-started/configure-polling-frequency-data-collection-cloud-integrations#extended) is on.

| Metric                           | Description                                                                                                                                                                                 |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `numberOfMessagesPublished`      | The number of messages published.                                                                                                                                                           |
| `numberOfNotificationsDelivered` | The number of messages successfully delivered.                                                                                                                                              |
| `numberOfNotificationsFailed`    | The number of messages that Amazon SNS failed to deliver. For more info, see [Amazon SNS metrics](http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/sns-metricscollected.html). |
| `publishSize`                    | The size (in bytes) of messages published, includes Minimum, Maximum, Average and Count.                                                                                                    |
| `SubscriptionsPending`\*         | The number of subscriptions pending confirmation on this topic.                                                                                                                             |
| `SubscriptionsConfirmed`\*       | The number of confirmed subscriptions on this topic.                                                                                                                                        |
| `SubscriptionsDeleted`\*         | The number of deleted subscriptions on this topic.                                                                                                                                          |
