# Fly.io

Fly.io is a platform for running applications globally. You can stream your Fly.io service logs to Baselime using the fly-log-shipper.


# Setup

Step 1: Get your BASELIME_API_KEY from the Baselime console.

Step 2: Create a Fly Log Shipper service and set the secrets using following commands:

fly launch --image flyio/log-shipper:latest
fly secrets set ACCESS_TOKEN=$(fly auth token)
fly secrets set HTTP_URL=https://events.baselime.io/v1/flyio
fly secrets set HTTP_TOKEN=BASELIME_API_KEY

Once these steps are completed, logs from all services deployed on Fly.io will be streamed to Baselime, and available for search, queries, alerts and dashboards.

Instrument fly.io tracing and metrics using OpenTelemetry
../opentelemetry/