pawurb / ruby-pg-extras

Ruby PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.
MIT License
124 stars 11 forks source link

auto_explain feature support #22

Closed skatkov closed 10 months ago

skatkov commented 10 months ago

Sorry that I'm creating another issue.

I'd like to use auto_explain feature on our production instance. But it doesn't seem that this gem comes with any support for it.

Maybe I'm missing something? Would you be keen to add support for that as well?

Thanks for a great gem

pawurb commented 10 months ago

Hi. auto_explain is a mechanism for appending more info to pg logs, I don't know how it should work with this gem. You can manually run explain on all the reported bottleneck queries. I'll close this one for now, please open a PR if you'll have any idea on how to integrate it.