This is an unofficial Heroku buildpack for deploying Grafana Alloy on Heroku.
The buildpack installs the Alloy binary during the build phase and makes it available at runtime inside the dyno.
Add this buildpack to your Heroku app:
heroku buildpacks:add https://github.com/ZeroDeposit/grafana-agentEnsure the code of the app includes a config file in:
config/config.alloyAdd a Procfile to your application:
web: bash bin/start.shAnd a bin/start.sh script with:
gunicorn app:app &
bin/alloy run config/config.alloy &
wait -n