For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Integrate with OpenTelemetry (OTel)

You can configure Atlas to send metric data about your project to your OpenTelemetry collector, providing a unified interface to metrics platforms such as Dynatrace and New Relic.

To integrate Atlas with OTel metrics, you must have Project Owner access to the project. Users with Organization Owner access must add themselves to the project as a Project Owner.

The OTel metrics endpoint integration connects only to public IP addresses. Configure your OTel collector to allow inbound traffic from the Atlas outbound IP addresses for the provider and region in which your project is deployed. To learn how to identify these addresses, see Networking.

Note

Atlas enforces TLS when connecting to OTLP endpoints and requires certificates signed by a public Certificate Authority (CA). Self-signed certificates are not supported.

To integrate Atlas with OTel metrics you must have one of the following:

To configure an Atlas integration with a custom OTLP endpoint:

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3
  1. Click Configure for the OpenTelemtry Metrics integration card.

  2. From the Provider dropdown menu, select Custom.

  3. Provide your OTLP Endpoint.

  4. Provide your OTLP Headers as a series of key-value pairs. For each additional header after the first, click + Add Header to display new input fields.

  5. From the Aggregation Temporality dropdown menu, select the appropriate temporality for your OTLP endpoint.

  6. (Optional) To enable Atlas Stream Processing metrics tracking, check the Atlas Stream Processing box under the Select Metrics to Send heading.

  7. Click Save.

To configure an Atlas integration with Dynatrace via OTel:

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3
  1. Click Configure for the OpenTelemtry Metrics integration card.

  2. From the Provider dropdown menu, select Dynatrace.

  3. Provide your Dynatrace Environment ID.

  4. Provide your Dynatrace API Token.

  5. (Optional) To enable Atlas Stream Processing metrics tracking, check the Atlas Stream Processing box under the Select Metrics to Send heading.

  6. Click Save.

To configure an Atlas integration with New Relic via OTel:

1
  1. If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. In the sidebar, click the icon next to Project Overview.

The Project Settings page displays.

2

Click the Integrations tab.

The Project Integrations page displays.

3
  1. Click Configure for the OpenTelemtry Metrics integration card.

  2. From the Provider dropdown menu, select New Relic.

  3. Provide your New Relic API Key.

  4. From the Aggregation Temporality dropdown menu, select the appropriate temporality.

  5. (Optional) To enable Atlas Stream Processing metrics tracking, check the Atlas Stream Processing box under the Select Metrics to Send heading.

  6. Click Save.

The Otel integration forwards the metrics Atlas Stream Processing emits to OpenTelemetry. The Otel integration does not process any of these metrics.

Upon creating, updating, or triggering a test of your integration, Atlas Stream Processing issues a test metric to validate that the integration is operational.

Atlas Stream Processing can simultaneously support up to:

  • One New Relic OTel sink

  • One Dynatrace OTel sink

  • Two custom OTel sinks

The availability of each sink type is unaffected by the usage of any other.