Configuring Prometheus on Fly.io
Fly.io (opens in a new tab) provides a hosted Prometheus instance for every project.
To have Fly's Prometheus scrape your Autometrics-instrumented app, simply add
this to your fly.toml
configuration (opens in a new tab):
fly.toml
app = "your-app-name"
[metrics]
port = 9091 # default for most prometheus clients
path = "/metrics" # default for most prometheus clients