Skip to content

Read stats collected by PostgreSQL over time and report them to Librato Metrics.

Notifications You must be signed in to change notification settings

ThinkNear/pg_stats_aggregator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PG Stats Aggregator

Read stats collected by PostgreSQL over time and report them to Librato Metrics.

Deploy to Heroku

$ git clone https://github.com/lmarburger/pg_stats_aggregator
Cloning into 'pg_stats_aggregator'...
...

$ cd pg_stats_aggregator
$ heroku apps:create
autoupdating
Creating damp-wave-1398... done, stack is cedar
http://damp-wave-1398.herokuapp.com/ | [email protected]:damp-wave-1398.git
Git remote heroku added

$ git push heroku master
Counting objects: 7, done.
...

$ heroku addons:remove heroku-postgresql:dev
 !    WARNING: Destructive Action
 !    This command will affect the app: damp-wave-1398
 !    To proceed, type "damp-wave-1398" or re-run this command with --confirm damp-wave-1398
> damp-wave-1398

$ heroku config:add \
  DATABASE_URL=postgres:///database \
  [email protected] \
  LIBRATO_METRICS_TOKEN=abc123
Setting config vars and restarting damp-wave-1398...

$ heroku scale clock=1
Scaling clock processes... done, now running 1

About

Read stats collected by PostgreSQL over time and report them to Librato Metrics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%