Docs » Available host and application monitors » Configure application receivers for databases » MongoDB Atlas receiver

MongoDB Atlas receiver 🔗

The MongoDB Atlas receiver allows the Splunk Distribution of OpenTelemetry Collector to collect metrics from MongoDB Atlas through its monitoring API. The supported pipeline type is metrics. See Configure pipelines for more information.

Database metrics are dimensionalized by project and database attributes, for example, project_name and database_name.

Note

Use the MongoDB Atlas receiver in place of the SignalFx Smart Agent mongodb-atlas monitor type.

Get started 🔗

Follow these steps to configure and activate the component:

  1. Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform:

  2. Configure the MongoDB Atlas receiver as described in the next section.

  3. Restart the Collector.

Sample configurations 🔗

To activate the MongoDB Atlas receiver, add mongodbatlas to the receivers section of your configuration file, as shown in the following example:

# In this example, both values are pulled from the environment.

receivers:
  mongodbatlas:
    public_key: ${MONGODB_ATLAS_PUBLIC_KEY}
    # You can obtain the public key from the API Keys tab of the MongoDB Atlas Project Access Manager.
    # This value is required.
    private_key: ${MONGODB_ATLAS_PRIVATE_KEY}
    # You can obtain the private key from the API Keys tab of the MongoDB Atlas Project Access Manager.
    # This value is required.

To complete the configuration, include the receiver in the metrics pipeline of the service section of your configuration file. For example:

service:
  pipelines:
    metrics:
      receivers: [mongodbatlas]

Settings 🔗

The following table shows the configuration options for the MongoDB Atlas:

Metrics 🔗

The following metrics, resource attributes, and attributes are available.

Deactivate metrics 🔗

To deactivate any metric, apply the following configuration:

metrics:
  <metric_name>:
    enabled: false

Troubleshooting 🔗

If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.

Available to Splunk Observability Cloud customers 🔗

Available to customers and free trial users 🔗

To learn about even more support options, see Splunk Customer Success.