mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Open Dashboard For Specific Add-On as Heroku TIL
This commit is contained in:
17
heroku/open-dashboard-for-specific-add-on.md
Normal file
17
heroku/open-dashboard-for-specific-add-on.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Open Dashboard For Specific Add-On
|
||||
|
||||
The number of times I've needed to check the papertrail logs for my
|
||||
Heroku-hosted Rails app is a lot. I open a browser tab, go through several
|
||||
layers of navigation to get to my app's dashboard, and then click the
|
||||
papertrail link under _Add-ons_.
|
||||
|
||||
There is a much quicker way using the Heroku CLI.
|
||||
|
||||
```bash
|
||||
$ heroku addons:open papertrail -a my-app-name
|
||||
Opening https://addons-sso.heroku.com/apps/abc123/addons/efg456...
|
||||
```
|
||||
|
||||
It sends you to an add-ons SSO link in the browser which authenticates you and
|
||||
drops you into the dashboard for that specific add-on. You just need to specify
|
||||
the add-on name and the app name.
|
||||
Reference in New Issue
Block a user