Multiple [[metrics]] entries without process groups?

Hi,
I’m running a pocketbase app with litestream and hoping to collect metrics for both.

In my fly.toml file I put:

[[metrics]]
  port = 9091
  path = "/metrics"

[[metrics]]
  port = 9090
  path = "/metrics"

but promhttp doesn’t seem to collect metrics from :9090/metrics.
from curl http://{myapp}.internal:9090/metrics..
promhttp_metric_handler_requests_total{code=“200”} 0

The docs are not super clear about whether the above is supported. I don’t really want to run multiple process groups because I’m using litestream exec to start my app.

Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.