Linking Fly.io as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

The Fly.io connector syncs your infrastructure inventory – apps, machines, and volumes – into PostHog. Query your Fly.io fleet alongside product data for auditing, capacity planning, and correlating infrastructure state with user behavior.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.

  2. Click + New source and then click Link next to Fly.io.

  3. Create an organization-scoped API token. You can do this two ways:

    A read-only org token is sufficient.

  4. Back in PostHog, paste your API token and enter your organization slug. Use personal for your personal org. Run fly orgs list to find the slug for other organizations.

  5. Select the tables you want to sync, set the sync frequency, then click Import.

Once the syncs are complete, you can start using Fly.io data in PostHog.

Available tables

TableDescriptionSync method
appsApps in the organization. An app is the top-level unit that groups machines, volumes, and networking.Full refresh
machinesMachines (Firecracker microVMs) across the organization, one row per machine with its owning app.Full refresh
volumesVolumes (persistent storage) across the organization, one row per volume with its owning app.Full refresh

All tables use full refresh, meaning they reload all data on each sync. Incremental sync isn't available for Fly.io tables.

Note: The machines table includes a config column with the machine configuration overview (guest resources, image, and services). Secret-bearing fields – environment variables, secrets, inline file contents, user-defined metadata, and request headers on services and checks – are excluded for security.

Configuration

OptionDescription
API token
Type: password
Required: True
Organization slug
Type: text
Required: True

Your Fly.io organization slug — use personal for your personal org. Find it with fly orgs list.

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
apps

Fly.io apps in the organization. An app is the top-level unit that groups machines, volumes, and networking.

Full refreshid
machines

Fly.io machines (Firecracker microVMs) across the organization, one row per machine with its owning app.

Full refreshid
volumes

Fly.io volumes (persistent storage) across the organization, one row per volume with its owning app.

Full refreshid

Community questions

Was this page useful?

Questions about this page? or post a community question.