Sexy sinatra app for pg_stat_statements.
- Sorting by any column from pg_stat_statements
- Filtering by database or user
- Highlighting important queries && hidding not important queries
- Prepare your PG setup: enable the
pg_stat_statements
extension and executeCREATE EXTENSION pg_stat_statements
inside the database you want to inspect. Hint: there is an awesome article about pg_stat_statements in russian. - Clone the repo
- Fill
config.yml.example
with your credentians and save it asconfig.yml
- Start the app:
rake server
(or runrake console
to have command line) - ???
- PROFIT
Made by Kir Shatrov, sponsored by Evil Martians.
Thanks to Ivan Evtuhovich for advice about making this app.