Install the Heroku CLI.
Log in to Heroku:
Set up Better Stack drain to Heroku:
You will need to replace $HEROKU_APP_SLUG in the command above. The application slug is the name of the application in Heroku. You can see your available apps in the Heroku dashboard.
You should see your logs in Better Stack → Live tail.
Check out your metrics in the Heroku dashboard.
Enable Heroku Runtime Metrics to take full advantage of our Heroku dashboard.
Use Heroku CLI to set up metrics for your app:
You will need to replace $HEROKU_APP_SLUG in the commands above. The application slug is the name of the application in Heroku. You can see your available apps in the Heroku dashboard.
Check out your metrics in the Heroku dashboard.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Interested in learning more about Better Stack Heroku add-on and best practices for logging in Heroku? Check out our Complete Guide to Logging in Heroku.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.