The Topology view displays current activity for the routing service and shards of a MongoDB database, Oracle RAC server or a custom cluster. The Topology view shows key performance metrics for the routing service and shards or nodes of the database. 

Access the Database Topology Window

To access the Database Topology window:

  1. To view a database's topology, click the name of the database.
  2. Click the Topology tab.

Features of Database Topology Window 

This document contains links to MongoDB documentation. AppDynamics makes no representation as to the accuracy of MongoDB documentation because MongoDB controls its own documentation.

From the Database Topology window, you can:

  • Select the Auto Refresh box. From the Every list, you can choose how often the system updates the live view.

  • Click the dropdown arrow next to the database Collector name at the top of the page to choose a node or cluster that you want to see the metric views for. You can either select the database Collector name from the list or search for the database Collector by entering text in the search bar and then clicking the refresh icon to show only database Collectors that meet those search criteria.

  • Hover over the sections of the trends to see their details.

  • Click a column title on the Topology name list to sort the topologies using that column as the sort key.

From the Topology window, you can view:

  • Health: Indicates whether any health rules for the routing service or shards of the replica set or nodes have been violated.
  • Role: The role performed by the shard. The routing service routes the queries to the shards to balance the load. The members or shards of the replica sets can have either primary or secondary shard role. 
    For MongoDB, in addition to primary and secondary roles, the following roles are displayed for replica set and shard cluster in the <role name> replica set or <role name> shard format:
    • arbiter
    • down
    • rollback
    • recovering
    • routing service
    • startup
    • standalone
    • startup2
    • unknown

    For more information about these roles, see MongoDB documentation.

    You require Database Agent version >= 21.9 to view these roles.

  • Num Queries: The number of queries handled.
  • Queries Trend: The trend of queries handled over time.
  • Time in Database: The time required for the database to respond to the queries.
  • Time Spent in Database Trend: The trend of time spent in the database over time.

If you change the port number for a monitored database node, the Topology window shows a new node with the new port number, as well as the original node with the old port number. The original node remains in the Topology window for the duration of the retention period that you specify in Controller Settings.

Topology