{"agent":"claude","input":"Add Prometheus metrics to this Socket.IO server and open a pull request. Read server/package.json, server/index.js, server/entrypoint.js, server/src/index.js, server/src/util.js, every handler under server/src/, server/src/auth/index.js, server/test/util.js, one existing test, server/Dockerfile, compose.yaml and nginx/nginx.conf first. Add prom-client with one registry and default metrics; add a gauge for connected sockets from the engine's client count, a counter per event name from socket.onAny, a histogram of handler duration from event arrival to acknowledgement with a status label, gauges for the pg pool's total, idle and waiting counts, and a histogram for the Express auth routes. Serve GET /metrics on the Express app. Keep the metrics route off the public nginx path and add a compose override with a Prometheus service that scrapes each backend. Install PostgreSQL in your sandbox with the password the tests expect, add a mocha test that sends a message and asserts on the scraped metrics, run npm test and npm run format, and open a pull request with the test output and a sample of the /metrics text.","resources":[{"url":"https://github.com/your-org/your-app"}]}