Page Outline
To get access to the latest features and fixes in the agent, you should ensure your agent is upgraded to the latest version.
There are two options for upgrading your agent: use git to upgrade with minimal interruption to your agent, or remove your existing agent and go through the full setup process again.
To minimize the number of upgrade steps, use git to update an existing agent running in Heroku.
If this is the first time you are upgrading your agent with git, follow these steps:
git clone git@github.com:postgresmonitor/agent.git --branch latest && cd agent
heroku git:remote -a <agent-name>
git push heroku latest
Confirm that metrics are still being reported to Postgres Monitor after a few minutes.
You're finished!
If you've upgraded your agent previously, follow these steps:
git pull origin latest
git push heroku latest
Confirm that metrics are still being reported to Postgres Monitor after a few minutes.
You're finished!
If you remove the agent and redeploy the latest, you will be able to go through the full agent setup process again.
Navigate to the Heroku agent application and go to the settings tab.
Click Delete app...
at the bottom of the page.
Go through the Account Setup once more.