Skip to technology filters Skip to main content
Dynatrace Hub

Extend the platform,
empower your team.

Popular searches:
Home hero bg
MongoDB (local or remote monitoring)MongoDB (local or remote monitoring)
MongoDB (local or remote monitoring)

MongoDB (local or remote monitoring)

Monitor your MongoDB servers either locally or remotely!

Extension
Free trial
New MongoDB DashboardMongoDB DashboardMongoDB Process ListMongoDB Process DetailsMongoDB Database ListMongoDB Database Details
  • Product information
  • Release notes

Overview

The MongoDB Extension connects to your MongoDB servers either remotely and locally.
Collective batch of data is gathered every minute by this extension and sent to the Dynatrace platform for detailed analysis.

This is intended for users, who:

  • Would like to monitor database traffic for optimization plan

This enables you to:

  • Monitor database operations with a comprehensive dashboard
  • Take pre-emptive measures to avoid service degradations

Get started

Prerequisites:

  • Either :
    • Dynatrace OneAgent installed on your MongoDB Server
    • Dynatrace ActiveGate installed and with network access to your MongoDB Server
  • MongoDB User with serverStatus@admin, listDatabases and dbStats permissions.
    • The MongoDB Built In Cluster Monitor Role has these permissions already set up.
  1. After the prerequisites are done, enable the extension via the Dynatrace Hub
  2. Choose to monitor remotely via an ActiveGate group or locally via the OneAgent
  3. Enter in configuration and credentials
  4. Review data in included Dashboard

Details

Along with the username and password you can configure the extension to :

  • Use a different Authentication Database (Sets the authSource property in the connection string)
  • Add a path to a CA PEM File (Sets the tlsCAFile argument of the MongoClient)
  • Add a path to a Client Certificate (Sets the tlsCertificateKeyFile of the MongoClient)
    • Note: These file paths need to be accessible on all ActiveGates in the group or locally on the OneAgent Host
  • Select between MongoDB Auth Mechanisms - SCRAM-SHA-1, SCRAM-SHA-256, PLAIN, DEFAULT
    • If no mechanism is specified, PyMongo automatically uses SCRAM-SHA-1 when connected to MongoDB 3.6 and negotiates the mechanism to use (SCRAM-SHA-1 or SCRAM-SHA-256) when connected to MongoDB 4.0+.

FAQ

Q: What is the Custom Metric Usage of this extension?

A: The formula for consumption of the extension is:

Note : Activating the extension locally would consume the included metrics per host unit

Per connected process/port -> (17 + 5 * <# of Databases>)
Dynatrace
By Dynatrace
Dynatrace support center
Subscribe to new releases
Copy to clipboard

Extension content

Content typeNumber of items included
screen layout
6
screen injections
1
screen properties
2
list screen layout
3
screen entities lists
6
document dashboard
1
screen chart groups
22
dashboards
1
generic relationship
5
generic type
4
metric metadata
34
screen dql table
2

Feature sets

Below is a complete list of the feature sets provided in this version. To ensure a good fit for your needs, individual feature sets can be activated and deactivated by your administrator during configuration.

Feature setsNumber of metrics included
Metric nameMetric keyDescriptionUnit
Cache - Pages Requestedmongodb.cache.pages_requestedNumber of pages reqeusted from the cacheCount
Cache - Pages Readmongodb.cache.pages_readNumber of pages read into the cacheCount
Metric nameMetric keyDescriptionUnit
Current connectionsmongodb.current_connections-Count
Available connectionsmongodb.available_connections-Count
Insert operationsmongodb.insert_operations2.count-PerSecond
Query operationsmongodb.query_operations2.count-PerSecond
Update operationsmongodb.update_operations2.count-PerSecond
Delete operationsmongodb.delete_operations2.count-PerSecond
Getmore operationsmongodb.getmore_operations2.count-PerSecond
Command operationsmongodb.command_operations2.count-PerSecond
Resident memorymongodb.resident_memory-MegaByte
Virtual memorymongodb.virtual_memory-MegaByte
Current queuemongodb.current_queue-Count
Active clientsmongodb.active_clients-Count
Regular assertsmongodb.regular_asserts2.count-PerSecond
Warning assertsmongodb.warning_asserts2.count-PerSecond
Message assertsmongodb.message_asserts2.count-PerSecond
User assertsmongodb.user_asserts2.count-PerSecond
Rollover assertsmongodb.rollover_asserts2.count-PerSecond
Page Faultsmongodb.page_faultsThe total number of page faultsCount
Uptimemongodb.uptimeThe number of seconds that the MongoDB process has been active.Second
Objectsmongodb.db.objects-Count
Indexesmongodb.db.indexes-Count
Data sizemongodb.db.db_data_size-Byte
Storage sizemongodb.db.db_storage_size-Byte
Index sizemongodb.db.db_index_size-Byte
Metric nameMetric keyDescriptionUnit
Replica Set - Oplog Sizemongodb.rs.oplog_sizeThe range between the earliest and latest oplog entiresByte
Replica Set - Oplog Windowmongodb.rs.oplog_windowThe time window covered by the oplog (Replication headroom)Second
Metric nameMetric keyDescriptionUnit
Locks - Current Global Queuemongodb.locks.global_current_queueThe number of operations queued because of a lock.Count
Locks - Global Total Timemongodb.locks.global_total_timeThe time, in microseconds, since the database last started and created the globalLock. This is roughly equivalent to total server uptime.MicroSecond
Locks - Current Global Acquired Locksmongodb.locks.global_acquireNumber of times the lock was acquired in the specified mode.Count
Locks - Current Global Aqcuired Waitsmongodb.locks.global_acquire_waitNumber of times the lock acquisitions encountered waits because the locks were held in a conflicting mode.Count
Locks - Global Time Acquired (Microseconds)mongodb.locks.global_time_acquireCumulative wait time in microseconds for the lock acquisitions.MicroSecond
Locks - Current Global Deadlocksmongodb.locks.global_deadlocksNumber of times the lock acquisitions encountered deadlocks.Count

Full version history

To have more information on how to install the downloaded package, please follow the instructions on this page.
ReleaseDate

Full version history

⚠️ NOTICE:

  • Requires minimum Dynatrace version of 1.309

✨ New in this version:

Metrics
  • Page Faults (mongodb.page_faults) The total number of page faults (as Count)
  • Uptime (mongodb.uptime) The number of seconds that the MongoDB process has been active. (as Second)
  • Cache - Pages Requested (mongodb.cache.pages_requested) Number of pages reqeusted from the cache (as Count)
  • Cache - Pages Read (mongodb.cache.pages_read) Number of pages read into the cache (as Count)
  • Locks - Current Global Queue (mongodb.locks.global_current_queue) The number of operations queued because of a lock. (as Count)
  • Locks - Global Total Time (mongodb.locks.global_total_time) The time, in microseconds, since the database last started and created the globalLock. This is roughly equivalent to total server uptime. (as MicroSecond)
  • Locks - Current Global Acquired Locks (mongodb.locks.global_acquire) Number of times the lock was acquired in the specified mode. (as Count)
  • Locks - Current Global Deadlocks (mongodb.locks.global_deadlocks) Number of times the lock acquisitions encountered deadlocks. (as Count)
  • Locks - Current Global Aqcuired Waits (mongodb.locks.global_acquire_wait) Number of times the lock acquisitions encountered waits because the locks were held in a conflicting mode. (as Count)
  • Locks - Global Time Acquired (Microseconds) (mongodb.locks.global_time_acquire) Cumulative wait time in microseconds for the lock acquisitions. (as MicroSecond)
  • Replica Set - Oplog Size (mongodb.rs.oplog_size) The range between the earliest and latest oplog entires (as Byte)
  • Replica Set - Oplog Window (mongodb.rs.oplog_window) The time window covered by the oplog (Replication headroom) (as Second)
Authentication Mechanism
  • Added support for MONGODB-X509
Dashboard
  • Added New Dashboard

Full version history

  • Fixed a bug when setting a custom hostname.

Full version history

  • Fix for setting custom hostname in monitoring configuration.

Full version history

⚠️ BREAKING CHANGE ⚠️

Upgrading existing monitoring configurations from previous versions to this version will not be possible and will require recreating those monitoring configurations. New monitoring configurations will not be affected.

In this version:

  • Added Support for TLS client certificate file (tlsCertificateKeyFile)
  • Fixed issue where credentials were not able to be retrieved from credential vault for additional monitored processes

Full version history

Version 1.5.13

  • Removed the OCSP dependency, which made the extension not be able to connect to certain mongo instances

Full version history

Version 1.5.12

🐛 Bug fixes

  • Fix an issue where the extension could not retry a connection after failure.

Full version history

  • Fixed issue with cryptography library version requirement

Full version history

  • Added toggle to enable debug logging
  • Added support for Credential Vault

Full version history

v1.5.2

  • DXS-1351
    • Added support for Replica Sets
    • Added support for multiple MongoDB Processes (ports) in a single monitoring configuration
  • DXS-1601
    • Added support for Insecure TLS connections via the configuration
  • DXS-1762
    • Fix how IP address is reported for MongoDB Host entities when using the Remote Activation

Full version history

v1.2.0

  • #277460
    • Changes to how entity names are captured, to avoid showing DBs as localhost

Full version history

v1.1.0

  • Updates to correctly encode User and Password

Full version history

v1.0.0

  • Initial Version of the Extension
Dynatrace Hub
Get data into DynatraceBuild your own app
All (774)Log Management and AnalyticsKubernetesAI and LLM ObservabilityInfrastructure ObservabilitySoftware DeliveryApplication ObservabilityApplication SecurityDigital ExperienceBusiness Analytics
Filter
Type
Built and maintained by
Deployment model
SaaS
  • SaaS
  • Managed
Partner FinderBecome a partnerDynatrace Developer

Discover recent additions to Dynatrace

Problems logo

Problems

Analyze abnormal system behavior and performance problems detected by Davis AI.

Logs logo

Logs

Explore all your logs without writing a single query.

Security Investigator logo

Security Investigator

Fast and precise forensics for security and logs on Grail data with DQL queries.

Business Flow logo

Business Flow

Track, analyze, and optimize your critical business processes.

Cost & Carbon Optimization logo

Cost & Carbon Optimization

Track, analyze, and optimize your IT carbon footprint and public cloud costs.

Davis Anomaly Detection logo

Davis Anomaly Detection

Detect anomalies in timeseries using the Davis AI

Analyze your data

Understand your data better with deep insights and clear visualizations.

Notebooks logo

Notebooks

Create powerful, data-driven documents for custom analytics and collaboration.

Dashboards logo

Dashboards

Transform complex data into clear visualizations with custom dashboards.

Automate your processes

Turn data and answers into actions, securely, and at scale.

Workflows logo

Workflows

Automate tasks in your IT landscape, remediate problems, and visualize processes

Jira logo

Jira

Create, query, comment, transition, and resolve Jira tickets within workflows.

Slack logo

Slack

Automate Slack messaging for security incidents, attacks, remediation, and more.

Secure your cloud application

See vulnerabilities and attacks in your environment.

Security Overview logo

Security Overview

Get a comprehensive overview of the security of your applications.

Code-Level Vulnerabilities logo

Code-Level Vulnerabilities

Detect vulnerabilities in your code in real time.

Threats & Exploits logo

Threats & Exploits

Understand, triage, and investigate application security findings and alerts.

Are you looking for something different?

We have hundreds of apps, extensions, and other technologies to customize your environment

Leverage our newest innovations of Dynatrace Saas

Kick-start your app creation

Kick-start your app creation

Whether you’re a beginner or a pro, Dynatrace Developer has the tools and support you need to create incredible apps with minimal effort.
Go to Dynatrace Developer
Upgrading from Dynatrace Managed to SaaS

Upgrading from Dynatrace Managed to SaaS

Drive innovation, speed, and agility in your organization by seamlessly and securely upgrading.
Learn More
Log Management and Analytics

Log Management and Analytics

Innovate faster and more efficiently with unified log management and log analytics for actionable insights and automation.
Learn more