Query profiler: Add an ability to get performance statistics of queries
simhasrivatsa opened this issue · comments
Simha Srivatsa commented
Use case
Whenever we use a database, we would sometimes need to assess query performance and optimize our queries. For example, MongoDB atlas has a query profiler and RDS has performance insights.
How can I expose these metrics for Dgraph? I saw that there are audit logs but can we use this to scrape individual query metrics?
I would love this feature and give more confidence for people to use Dgraph
Links to examples and research
https://aws.amazon.com/rds/performance-insights/
https://www.mongodb.com/docs/atlas/tutorial/profile-database/