Open Bug 1342958 Opened 9 years ago Updated 9 years ago

Create a script that uses the Heroku API to find inactive apps that could be decommissioned

Categories

(mozilla.org :: Heroku: Administration, task)

task
Not set
normal

Tracking

(Not tracked)

People

(Reporter: emorley, Unassigned)

Details

As time goes on, we're going to see more and more potentially unused apps left around - perhaps we need a script that finds apps with no recent deploys and/or low requests per minute (or any other attributes that are indicative and available via the Heroku API), to help keep costs down? https://devcenter.heroku.com/articles/platform-api-reference Sadly there is no official API for requests/min metrics data, but (a) the API reference above can still help with eg date of last deploy, (b) it may be possible to reverse-engineer the metrics API that the Heroku CLI uses.
You need to log in before you can comment on or make changes to this bug.