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, and so on. 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 not be captured on a per-operation basis. These include:

  • Queue size
  • Running queries
  • CPU utilization

Honeycomb provides a helper to capture these statistics for you.

Run the MongoDB stats helper.

Alert on Problems 

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

Open Source 

Honeytail is open source and Apache 2.0 licensed.

Did you find what you were looking for?