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.
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:
Honeycomb provides two ways to collect your MongoDB logs:
Some metrics that reflect the high-level health of a MongoDB instance can’t be captured on a per-operation basis. These include:
Honeycomb provides a helper to capture these statistics for you.
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.
Honeytail and our installers are all open source, Apache 2.0 licensed. Their source can be found on GitHub: