Observed Signal · Aug 2, 2026 · Technical Guide · Source: DEV Community · Impact: 1/5 · Sentiment: Neutral
Application Performance Monitoring (APM) Market: How to Export FTDC From MongoDB Atlas
This technical how-to shows how to extract FTDC (Full Time Diagnostic Data Capture) from MongoDB Atlas using an undocumented Atlas Admin API (v1.0) that creates a log collection job, polls for success, and downloads a bundle containing per-member diagnostic.data directories including the live metrics.interim file. The author lists the three required inputs (programmatic API key, project ID, replica set name), provides example curl calls, and describes bundle metadata (expiration ~30 days). Atlas sets diagnosticDataCollectionDirectorySizeMB to 400MB, which typically yields 2–5 days of FTDC under real load (longer on idle clusters). The post also warns that the built-in clusterMonitor role grants read access to the oplog and demonstrates a more restrictive diagnostics-only custom role. The author references tooling (Big Hole, keyhole) for reading FTDC locally.
Practical technical guide for extracting diagnostic telemetry from MongoDB Atlas useful to ops and observability teams but not industry-shifting for AdTech/MarTech.
Wichtigste Kernpunkte & Evidenz
- MongoDB servers write FTDC (Full Time Diagnostic Data Capture) into a diagnostic.data folder with roughly 5,700 metrics sampled once per second.
- MongoDB Atlas exposes a v1.0 Admin API endpoint (logCollectionJobs) that can package FTDC on demand, requiring a programmatic API key, project ID, and replica set name.
- The FTDC extraction flow uses three API steps: create a logCollectionJob, poll the job until SUCCESS, and download the resulting bundle (example curl sequence provided).
- The Atlas-produced bundle contains the original per-member diagnostic.data files including metrics.interim; bundle metadata includes an expirationDate and bundles are retained for 30 days.
- Atlas sets diagnosticDataCollectionDirectorySizeMB to 400MB (double the mongod default), which typically provides 2–5 days of FTDC history under real traffic; older data is deleted when the directory fills.
Verknüpfte Unternehmen
2 verknüpfte UnternehmenGitHub
GitHub ist die führende cloudbasierte Entwicklungsplattform für kollaborative Softwareentwicklung, CI/CD-Automatisierung und KI-gestützte Codierung.
“Search for a way around it and you'll find [an issue on keyhole from February 2021](https://github.com/simagix/keyhole/issues/57) asking exa...”
MongoDB
Cloud-Datenbankplattform für Entwickler, Unternehmen und regulierte Workloads.
“On Atlas there's no such folder you can reach....”
Ontology Mapping & Concepts
Track Real-Time Market Signals & Shifts
Set up custom watchlists to receive automated, evidence-grounded executive digests whenever material signals or shifts occur across your tracked landscape.
