MongoDB is one of the most widely deployed and relied-upon open source NoSQL databases. With mongo-specific instrumentation, we can reliably track down the source(s) of any slowness or odd behavior in just a few clicks. For example: figuring out the user responsible for most lock % time held.
By consuming Mongo logs, queries off the wire, and system stats and parsing them into structured data, Honeycomb makes it possible to answer deep questions about database operation instantly.
The Honeycomb MongoDB log agent–which is honeytail wrapped in an installer–captures logs, structures to JSON, and streams the data into Honeycomb as it’s written. The TCP collector passively looks at traffic between clients and servers to collect query-level detail from the wire without requiring any reconfiguration of database or impacting performance. Finally, the stats helper is a reference implementation of a script for polling stats like active log count and queue length from Mongo instances.
You can also backfill old logs into Honeycomb to look at past data.
With MongoDB events in Honeycomb, you can ask questions like: