A
A
Anton2021-03-11 11:13:12
MongoDB
Anton, 2021-03-11 11:13:12

What do you monitor in MongoDb and what tools do you use?

Hello.
Your monitoring experience is interesting - what and with what tools do you track in the database?
For example, there is a plugin for Grafana Enterprise that can work with find/aggregate in mongo. You can display beautiful dashboards on the growth of documents and any other count() in collections.
Monga itself also has such a tool for "iron" monitoring.
In general, I will be glad to any comments on the topic.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
unseriously, 2021-03-11
@unseriously

There are thousands of monitorings of all sorts, each with its own pros/cons. For example, you can have a central monitoring node, you can use Prometheus for this, which will go to the specified addresses and pick up metrics (for this, you will need to put agents on the target nodes that will give these same metrics).
What to monitor:
- that the instance with mongo is alive
- that replication is alive
For prometheus, there is a good website with a selection of all sorts of different rules, including for mongo: https://awesome-prometheus-alerts.grep.to/rules#mongodb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question