Atlas Diagnostics Expert

Atlas Diagnostics Expert

Routing detail

When to use this skill

When NOT to use this skill

Skill guidance


Sub-skill routing table

Consolidates 8 diagnostics/performance sub-skills as on-demand references — Read listed references/…md file before answering deep questions.

Sub-topic When to load Reference file
atlas-diagnostics-package Expert reference for @mdb-tam/atlas-diagnostics package and diagnostic-recommendation engine references/atlas-diagnostics-package.md
mongodb-performance-troubleshooting MongoDB performance diagnosis — slow queries, explain plans, high CPU, cache pressure, symptom triage references/mongodb-performance-troubleshooting.md
mongodb-performance-benchmarking MongoDB perf benchmarking and load testing — proactive methodology, tool selection (YCSB, load generation) — “how fast does it go” references/mongodb-performance-benchmarking.md
mongodb-performance-regression-testing Regression testing methodology — deciding, with statistical defensibility, whether a deployment got slower after a version upgrade/schema/config/driver change; baseline capture, change point detection, CI perf-gating, canary/shadow-traffic comparison, MongoDB 7.0→8.0-style upgrade regression detection — “did it get worse, or is that noise” references/mongodb-performance-regression-testing.md
mongodb-stress-and-resilience-testing MongoDB breaking-point, soak, and chaos-resilience testing — deliberately pushing past limits to find failure modes, safe non-prod execution — “where does it break” references/mongodb-stress-and-resilience-testing.md
mongodb-monitoring-observability Monitoring MongoDB Atlas and self-managed — Atlas metrics, FTDC, Prometheus/Datadog/Grafana integration, alerting references/mongodb-monitoring-observability.md
mongodb-capacity-planning MongoDB Atlas capacity planning — working-set sizing, IOPS forecasting, tier right-sizing references/mongodb-capacity-planning.md
mql-perf-harness Heuristic, index-aware performance scorer plus 50-query anti-pattern benchmark corpus references/mql-perf-harness.md

Source map

Internal diagnostic workflow docs

Doc URL
The Atlas Diagnostic Snapshot service https://wiki.corp.mongodb.com/spaces/cs/pages/260914369/The+Atlas+Diagnostic+Snapshot+service
TSE Toolbelt https://wiki.corp.mongodb.com/spaces/cs/pages/87470010/TSE+Toolbelt
Cloud Support Home https://wiki.corp.mongodb.com/spaces/cs/pages/91000982/Cloud+Support+Home
Atlas Diagnostic Checklist and Template https://wiki.corp.mongodb.com/spaces/cs/pages/96667896/Atlas+Diagnostic+Checklist+and+Template
MMS API Landscape https://wiki.corp.mongodb.com/spaces/MMS/pages/346202846/MMS+API+Landscape

Tool repositories

Repo Purpose
10gen/ts-diag Atlas diagnostic snapshot service and CLI
10gen/alexandria FTDC analysis and rules engine
10gen/ts-search-explain-helper Search explain-plan visualization and AI analysis
10gen/mongolyser Electron app for MongoDB performance and log analysis
10gen/atlas-tools Support tooling installed on Atlas nodes
10gen/support-tools Umbrella repo for internal TS tooling
10gen/devprod-mcp-router MCP gateway for internal debugging backends
10gen/ts-ftdc-requestor FTDC retrieval service

Public Atlas docs

Knowledge Base references

Article Visibility URL
000019662 — Atlas cluster connections Public https://support.mongodb.com/article/000019662
000019888 — Replication Oplog alerts and falling off the oplog Public https://support.mongodb.com/article/000019888
000022299 — Cloud network latency issues in Atlas AWS clusters Internal
000022653 — MongoNetworkError: Client Network Socket Disconnected Before Secure TLS Connection Public https://support.mongodb.com/article/000022653
000022958 — Atlas Search: Percentage of RAM consumed by vector indexes above 100% Public https://support.mongodb.com/article/000022958
000023027 — MongoDB Atlas Security Best Practices Public https://support.mongodb.com/article/000023027
000018973 — How is the MongoDB Atlas Disk Usage monitoring metric calculated? Public https://support.mongodb.com/article/000018973

Atlas diagnostics operating model

Core principle

Move from curated summary to raw evidence:

  1. Start with fastest curated view (ts-diag, Atlas UI summaries, Performance Advisor, alerts, metrics)
  2. Gather focused artifacts (logs, FTDC, explain plans, profiler samples)
  3. Use specialized analyzers (alexandria, t2, SearchPlanIQ, mtools, Mongolyser) when first-pass insufficient
  4. Package findings into repeatable escalation record using Atlas Diagnostic Checklist and Template

What the internal docs establish directly


Diagnostic surfaces

Surface Best use Primary inputs Primary outputs
ts-diag web Fast Atlas case triage case/project/cluster context Project snapshot, cluster snapshot, quick diagnostics, links to logs/FTDC/UI
ts-diag CLI Atlas API-backed project/cluster inspection from terminal case/profile, project/org/cluster identifiers Text/JSON/markdown output
Atlas UI Validation and operator investigation project/cluster/node pages Live metrics, node state, alerts, activity, downloadable artifacts
Atlas alerts Symptom confirmation and notification history alert config + project/cluster state Alert conditions, severity, timeline
Atlas metrics Resource and workload diagnosis cluster/node metric selection, time range Charts for CPU, memory, cache, storage, IOPS, latency, connections
Performance Advisor Query/index triage slow query logs, cluster role access Index suggestions, query targeting, docs scanned/returned, sample query shapes
FTDC analyzers Low-level time-series diagnosis FTDC bundles/files Rule hits, time-series views, summaries
Log analyzers Log-centric troubleshooting mongod/mongos logs Filtered views, summaries, visualizations, pattern extraction
Explain analyzers Search/vector explain interpretation explain JSON Visualizations, bottleneck analysis, markdown reports

Tool catalog

ts-diag

Purpose: Internal Atlas Diagnostic Snapshot service for Atlas project and cluster triage. Presents curated project/cluster summaries and Quick and Easy Diagnostics.

Access/install/run:

CLI subcommands: snapshot, api, atlasinfo, dbaccess, downloadlogs, event, instancehardware, lastping, logcollection, maint, metrics, networkinfo, plans, searchnodes, web, whoami

Inputs: Atlas case number, Atlas CLI profile, org/project/cluster identifiers, Atlas Admin API paths

Outputs: Project snapshot, cluster snapshot, quick diagnostics, links to logs/FTDC/Atlas UI

Cautions:

Atlas UI + Atlas Diagnostic Checklist

Purpose: Structured manual validation before escalation.

Inputs: Project ID, node URI, cluster/node pages, logs/FTDC download links, observed symptoms and timestamps

Outputs: Escalation-ready summary with cluster size, node status, storage, IOPS, CPU, oplog, query-targeting, restart attempts

What it checks:

Thresholds: Query targeting >100 red flag; >1000 urgent. Scan-and-order stay near 0; >25 warrants investigation.

Cautions: Some node downtime during upgrades expected. Sanitize customer data before sharing log excerpts.

Alexandria

Purpose: Fast FTDC analysis on Prometheus-style query model; known-issue detection via rules plus ad hoc FTDC querying.

Install/run:

Inputs: FTDC directories, FTDC tar archives, Prometheus-like query expressions, optional tags/rules

Outputs: Markdown findings, JSON output, CSV-style query output, rule hits and summaries

What it checks: Memory issues, storage/disk bottlenecks, replication lag/flow control/majority issues, network stall patterns, stuck transactions, WiredTiger contention/dirty rollback patterns

Cautions: Some rules are MongoDB-version-specific and pass if metrics absent. Strongest for FTDC-driven diagnosis.

t2

Purpose: FTDC and metric time-series inspection at lower level than first-pass summary tools.

Access: Desktop application from GitHub (TSE Toolbelt)

What it checks: Trending and timing relationships in FTDC data; follow-up after ts-diag or checklist-based suspicion

Evidence note: Corpus docs light — use as specialized FTDC lens.

mtools

Purpose: Log analysis and local repro helpers.

Install: pip3 install --user 'mtools[all]'; workaround: pip install mtools[all] --user --ignore-installed six

Inputs: mongod / mongos logs, local repro scenarios for mlaunch

Outputs: Log summaries, filtered log views, query plots and log visualizations

SearchPlanIQ (ts-search-explain-helper)

Purpose: Atlas Search and Vector Search explain-plan analysis with visualization and AI-assisted interpretation.

Install/run:

Inputs: $search, $vectorSearch, and hybrid explain plans

Outputs: Flame graphs, treemaps, Sankey diagrams, execution summaries, markdown reports, extracted JSON

What it checks: Search-stage bottlenecks, segment timing and selectivity, explain-plan shape and probable hot spots

Cautions: Includes LLM-assisted analysis — validate hypotheses against underlying explain data. README calls out security and PII handling guidance as required reading.

Mongolyser

Purpose: General MongoDB performance and health analysis desktop app.

Install/run: Download executables from GitHub releases, or npm i && npm run electron:start

Inputs: Profiler data, logs, oplog/write-load patterns, index and sharding state

What it checks: Query profiling, performance assessment, log analysis, query pattern analysis, write-load/oplog behavior, connection analysis, index analysis, sharding and chunk analysis, cache visualization

Evidence note: README-level docs — prefer more specialized tools when narrower workflow already established.

ts-ftdc-requestor

Purpose: FTDC retrieval and storage service for Atlas-to-S3 workflows. Primarily artifact-acquisition, not analyzer.

Evidence note: Lightly documented — treat as infrastructure around FTDC workflows.

devprod-mcp-router

Purpose: Unified MCP gateway/entrypoint to internal debugging backends (Evergreen, Git, Jira, Confluence, Backstage, Build Baron).

Install/run: Install devprod-mcp-proxy from gateway download page or via go install; connect AI clients over stdio to gateway URL

Note: Not Atlas diagnostic engine — makes adjacent CI, repo, wiki, and infra debugging surfaces easier from AI tooling.


Cluster health / outage / node-down

  1. Start in ts-diag for project and cluster snapshot.
  2. Validate node state, activity feed, and metrics in Atlas UI.
  3. Use Atlas Diagnostic Checklist to confirm storage, IOPS, oplog, CPU, and whether writes still accepted.
  4. Pull logs and FTDC if symptom not immediately explained.
  5. Escalate with checklist/template if HELP engagement criteria met.

Query / index / slow-operation issues

  1. Start with Performance Advisor and Namespace / profiler views.
  2. Check query targeting, docs scanned, docs returned, sample query shapes.
  3. For Atlas Search / Vector Search explains, use SearchPlanIQ.
  4. Use KB references for recurrent patterns and customer-shareable guidance.

Memory / storage / cache / replication issues

  1. Review Atlas metrics for memory, cache, disk usage, latency, and queue depth.
  2. Use ts-diag QED output as hinting layer.
  3. Pull FTDC and analyze with Alexandria and/or t2.
  4. Use oplog and storage KB articles when symptoms match those playbooks.

Log-heavy incidents

  1. Acquire logs from Atlas / ts-diag.
  2. Use mtools for structured filtering and visualization.
  3. Use Mongolyser when broader multi-signal interactive workflow helpful.

Atlas metrics quick reference

Atlas alerting RBAC-gated at org/project scope; severity levels: Critical, Error, Warning, Info. Alert state is diagnostic evidence, not just notification plumbing.

Performance Advisor works from slow-query evidence and suggests indexes based on query shape. Index recommendations still need read-vs-write tradeoff review before applying.


KB-guided troubleshooting posture

Use KB for repeatable symptom-to-playbook mapping, especially when need customer-safe article or want to confirm known Atlas issue shape. Check visibility before sharing links externally.

Useful KB categories for Atlas diagnostics:


Standards for building new Atlas diagnostic tooling

  1. Prefer public Atlas Admin APIs first; use private/internal only when capability not exposed publicly.
  2. Decide consumer model up front: internal UI, CLI/programmatic tool, or agent-facing system. One API shape not fit every consumer.
  3. Use supported auth patterns: service accounts / OAuth, Digest for legacy Admin APIs, or approved internal auth flows.
  4. Make RBAC explicit — role annotations required, not implied.
  5. Add intentional rate limiting for fan-out or expensive diagnostic endpoints.
  6. Keep telemetry privacy-safe — avoid logging request/response bodies due to PII risk.
  7. Favor versioned and better-governed public APIs when long-term tool stability matters.
  8. Treat logs, FTDC, sample queries, and explains as potentially sensitive customer data; minimize storage and exposure.
  9. Preserve TS operational pattern: summary surface first, raw artifacts second, specialized analyzers third.

Evidence boundaries

Directly documented

Lightly documented or partly inferred

When extending this context, read tool’s current README or operator guide before making prescriptive claims.

Cross-hub map — where every MongoDB topic lives

All MongoDB knowledge split across four hubs (plus misc-catch-all for KB-article lookups via references/mongodb-kb.md and repo install/run via references/10gen.md). If task’s deep material not in this hub’s Sub-skill routing table, it is reference file under sibling hub — activate that hub or Read its references/<name>.md directly.

Hub Owns Example reference files
mongodb-expert Core data plane + engine internals: CRUD/MQL, aggregation, indexes, query performance, schema design, transactions, change streams, time-series, geospatial, views, BSON, error codes, connection strings, driver internals, WiredTiger cache/eviction/checkpoint internals, mongosh, database tools, multi-tenancy, sharding, replication, Compass references/mongodb-wiredtiger-internals.md, mongodb-indexes-deep.md, mongodb-sharding.md, mongodb-replication.md
mongodb-atlas-expert Atlas cloud platform: control plane, Atlas Search, Vector Search, Stream Processing, Charts, Data Federation, App Services, Triggers, Online Archive, Flex, networking, IAM/RBAC, Terraform, AKO references/mongodb-atlas-search.md, mongodb-atlas-vector-search.md
atlas-diagnostics-expert Live diagnostics & performance: ts-diag, FTDC, performance-troubleshooting symptom triage, benchmarking, regression detection/testing methodology, stress/soak/chaos-resilience testing, monitoring/observability, capacity planning references/mongodb-performance-troubleshooting.md, mongodb-performance-regression-testing.md, mongodb-stress-and-resilience-testing.md
mongodb-operations-expert Ops & data movement: backup/restore, DR, Ops Manager, upgrades, migration, mongosync, relational migrator, CDC, data lifecycle, security architecture, encryption, compliance, cost, Kafka/Spark connectors references/mongosync.md, mongodb-backup-restore.md

High-overlap routing notes: