Ship your Fly.io logs to Honeybadger Insights
Use Fly.io’s log shipper app to ship logs from your apps hosted by Fly.io. First, create a new app config:
# Make a directory for your log shipper appmkdir logshippercd logshipper
# Create the app but don't deploy just yetfly launch --no-deploy --image ghcr.io/superfly/fly-log-shipper:latest
# Set some secrets. Setting HONEYBADGER_API_KEY enables the shipping of logs to your Honeybadger project.fly secrets set ORG=personal # The org you chose when running "fly launch"fly secrets set ACCESS_TOKEN=$(fly auth token)fly secrets set HONEYBADGER_API_KEY=PROJECT_API_KEYEdit the generated fly.toml file, replacing the [http_service] section with
this:
[[services]] http_checks = [] internal_port = 8686Then deploy the app:
fly deployOnce that’s done, you should see logs from your apps flowing into Insights. See the Fly.io docs for more information about using the log shipper app.