Skip to main content
Data Infrastructure Insights

MongoDB Data Collector

Contributors netapp-alavoie

Data Infrastructure Insights uses this data collector to gather metrics from MongoDB.

Installation

  1. From Observability > Collectors, click +Data Collector. Choose MongoDB.

    Select the Operating System or Platform on which the Telegraf agent is installed.

  2. If you haven't already installed an Agent for collection, or you wish to install an Agent for a different Operating System or Platform, click Show Instructions to expand the Agent installation instructions.

  3. Select the Agent Access Key for use with this data collector. You can add a new Agent Access Key by clicking the + Agent Access Key button. Best practice: Use a different Agent Access Key only when you want to group data collectors, for example, by OS/Platform.

  4. Follow the configuration steps to configure the data collector. The instructions vary depending on the type of Operating System or Platform you are using to collect data.

MongoDB configuration

Setup

Information may be found in the MongoDB documentation.

Objects and Counters

The following objects and their counters are collected:

Object: Identifiers: Attributes: Datapoints:

MongoDB

Namespace
Hostname

MongoDB Database

Namespace
Hostname
Database name

Troubleshooting

Information may be found from the Support page.