Skip to content

Commit

Permalink
Add Heroku instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lfittl committed Nov 8, 2016
1 parent 540f639 commit d874290
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ The only required arguments are PGA_API_KEY (found in the [pganalyze](https://pg
Note: You can add ```-v /path/to/database/volume/on/host:/var/lib/postgresql/data``` in order to collect I/O statistics from your database (this requires that it runs on the same machine).


Heroku Monitoring
-----------------

When monitoring a Heroku Postgres database, it is recommended you deploy the collector as its own app inside your Heroku account.

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/pganalyze/collector)

Follow the instructions in the pganalyze documentation to add your databases to the collector.


Authors
-------

Expand Down
13 changes: 13 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "pganalyze collector",
"description": "Helper for pganalyze to collect PostgreSQL monitoring data from Heroku apps",
"repository": "https://github.com/pganalyze/collector",
"logo": "http://static-assets.pganalyze.com/logo.png",
"keywords": ["postgresql", "monitoring"],
"env": {
"PGA_API_KEY": {
"description": "Your pganalyze account API key - you can find this on your pganalyze settings page",
"required": true
}
}
}

0 comments on commit d874290

Please sign in to comment.