Add metrics for ReactiveMongoBaseDao
Closed this issue · 0 comments
Evergreen-person commented
Problem
Now the most valuable place for optimization is working with the database. However, for some collections we don't have information about where they are used unless you look into bitbucket and spend at least half an hour on it.
Solving
So it would be good if we sent metrics about the collection name and the database during application startup. In addition, we should measure the number of requests and perhaps, if this does not impact performance too much, the number of items specified. For starters, this will be enough.
For metrics we have to use Prometheus.