Skip to content

aderyabin/pg_web_stats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pg_web_stats

Sexy sinatra app for pg_stat_statements.

Features

  • Sorting by any column from pg_stat_statements
  • Filtering by database or user
  • Highlighting important queries && hidding not important queries

Installation

  1. Prepare your PG setup: enable the pg_stat_statements extension and execute CREATE EXTENSION pg_stat_statements inside the database you want to inspect. Hint: there is an awesome article about pg_stat_statements in russian.
  2. Clone the repo
  3. Fill config.yml.example with your credentians and save it as config.yml
  4. Start the app: ruby web.rb
  5. ???
  6. PROFIT

Made by Kir Shatrov, sponsored by Evil Martians.

Thanks to Ivan Evtuhovich for advice about making this app.

About

Sexy sinatra app for pg_stat_statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%