-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Summary
Time to time, we catch CPU high load like
During this time, CouchDB returns an error response.
To resolve this, we are restarting all CouchDB nodes in the cluster.
To troubleshoot this issue, it will be fine to get CouchDB profiling with the busiest functions at this time.
Like it was done for RabbitMQ.
https://www.rabbitmq.com/blog/2022/05/31/flame-graphs
Could you implement a similar feature for CouchDB?
Desired Behaviour
Attach the performance profiling tool to the running CouchDB process and record function performance metrics.
Then use these metrics to draw a graph with most busiest functions.
Possible Solution
Probably it can be done like in RabbitMQ
https://www.rabbitmq.com/blog/2022/05/31/flame-graphs