{"agent":"claude","input":"Add Prometheus metrics to this Phoenix LiveView application with PromEx. Read mix.exs, mix.lock, lib/live_beats/application.ex, lib/live_beats_web/telemetry.ex, lib/live_beats_web/endpoint.ex, lib/live_beats_web/router.ex, config/config.exs, config/runtime.exs, fly.toml and the Dockerfile first. Add prom_ex and raise telemetry_metrics, telemetry_poller and plug_cowboy to the versions it requires, keeping the existing Telemetry module for the LiveDashboard. Generate the PromEx module with mix prom_ex.gen.config, enable the Phoenix, Ecto and PhoenixLiveView plugins and their dashboards, add the config block, start PromEx first in the supervision tree, and expose the metrics either with PromEx.Plug placed before Plug.Telemetry or with a standalone metrics server on its own port, choosing by how the app is deployed and explaining the choice. Install PostgreSQL in the sandbox, run mix compile --warnings-as-errors and mix test, start the server and fetch /metrics, and open a pull request that quotes the first lines of the scrape and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}