add log shipping via vector for all fly "personal" deployments to better stack #2

Merged
greg merged 2 commits from logs into main 2023-10-25 15:41:36 +00:00
2 changed files with 28 additions and 0 deletions

14
logs/README.md Normal file
View file

@ -0,0 +1,14 @@
# Create the app but don't deploy just yet
fly launch --no-deploy --image ghcr.io/superfly/fly-log-shipper:latest
# Set some secrets. The secret / env var you set
# determines which "sinks" are configured
fly secrets set ORG=personal
fly secrets set ACCESS_TOKEN=$(fly auth token)
fly secrets set BETTER_STACK_SOURCE_TOKEN=<token provided by better stack>
https://fly.io/docs/going-to-production/monitoring/exporting-logs/#the-fly-log-shipper
https://github.com/superfly/fly-log-shipper
https://uptime.betterstack.com/team/163632/integrations/apis

14
logs/fly.toml Normal file
View file

@ -0,0 +1,14 @@
# fly.toml app configuration file generated for burd-infra-logs-shipper on 2023-10-25T11:17:02-04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "burd-infra-logs-shipper"
primary_region = "bos"
[build]
image = "ghcr.io/superfly/fly-log-shipper:latest"
[[services]]
http_checks = []
internal_port = 8686