Loading…
Observability and OpenTelemetry: Introducing MongoDB Atlas Log Integration
MongoDBSabina Bates
Summary
During database latency spikes or unexpected outages, operations teams frequently waste valuable time downloading compressed archives and manually inspecting log files to isolate root causes. MongoDB Atlas resolves this operational friction by introducing a direct log integration feature for dedicated M10+ clusters. The system routes mongod, mongos, and audit logs directly to third-party tools such as Datadog, Splunk, Amazon S3, Google Cloud Storage, and Azure Blob Storage. Furthermore, built-in support for the OpenTelemetry standard enables teams to pipe database logs into any OTel-compatible logging backend. This setup eliminates operational silos, streamlines security auditing, and correlates database query diagnostics with application traces and infrastructure metrics in real time.
Context
Diagnosing database latency spikes or outages traditionally requires teams to manually log into data platforms, export large log archives, and search through thousands of lines of text. This manual, siloed workflow creates operational friction, delays incident resolution, and obscures the connection between database metrics and underlying log events.
Approach / What changed
MongoDB Atlas introduced a native log integration for dedicated M10+ clusters that streams mongod, mongos, and audit logs to external platforms. Destinations include Datadog, Splunk, Amazon S3, Azure Blob Storage, Google Cloud Storage, and any endpoint supporting the open-source OpenTelemetry standard. Atlas Search logs are also available through a private preview.
Takeaways
- Atlas Log Integration supports streaming mongod, mongos, and audit logs directly to Datadog, Splunk, Google Cloud Storage, Azure Blob Storage, and Amazon S3.
- The integration utilizes the open-source OpenTelemetry (OTel) standard, allowing log forwarding to any OTel-compliant observability backend without vendor lock-in.
- Available for dedicated M10+ clusters, the integration is configured via Project Integrations in the Atlas UI, with Atlas Search logs accessible in private preview.
Related reading
MongoDB ·
Carrying Complexity, Delivering Agility
MongoDB centers its engineering architecture around resilience, intelligence, and simplicity to minimize developer cognitive and operational burdens when building distributed applications. Security is enforced through dedicated clusters in isolated virtual private networks alongside Queryable Encryption, which allows equality and range queries on ciphertext without decryption keys ever leaving the client. High availability is built on replica sets across independent availability zones and multi-cloud topologies, utilizing consensus mechanisms that commit writes only after majority acknowledgment in the active term. Operational friction in artificial intelligence workloads is addressed by integrating vector search directly into the core query engine, eliminating brittle extract-transform-load pipelines and separate vector databases.
Akshat Vig, Ashish KumarMongoDB ·
10 Years of MongoDB Atlas: Built for What’s Next