MongoDB Observability with Honeycomb | Honeycomb

We use cookies or similar technologies to personalize your online experience & tailor marketing to you. Many of our product features require cookies to function properly.

Read our privacy policy I accept cookies from this site

MongoDB Observability with Honeycomb

Database observability is an especially nuanced topic, and MongoDB is no exception. Honeycomb supports several complementary strategies to give you maximum visibility into your MongoDB deployment.

Collect MongoDB logs  🔗

Database logs provide additional insight into bad queries, by surfacing information about query plans, index use, locks held, etc. Our agent parses MongoDB logs and extracts useful information such as:

  • The normalized query shape
  • Number of documents examined
  • Duration of the query execution
  • Lock duration.

Honeycomb provides two ways to collect your MongoDB logs:

Record system statistics  🔗

Some metrics that reflect the high-level health of a MongoDB instance can’t be captured on a per-operation basis. These include:

  • Queue size
  • Running queries
  • CPU utilization
  • etc.

Honeycomb provides a helper to capture these statistics for you.

Run the MongoDB stats helper.

Alert on problems  🔗

Once you’re collecting MongoDB data, make sure you’re the first to know when something goes wrong. Read more about defining triggers and alerts with Honeycomb.

Open source  🔗

Honeytail and our installers are all open source, Apache 2.0 licensed. Their source can be found on GitHub: