{"agent":"claude","input":"Add Prometheus metrics to this Tokio server. Read Cargo.toml, the server binary, the server module, the command module and the CI workflow first. Use the metrics facade crate with metrics-exporter-prometheus, behind an optional --metrics-port flag on the server binary; with no flag, open no listener and change nothing about default behaviour. Instrument accepted connections, active connections as a gauge paired with the semaphore permit, connection errors, commands by name using the existing command name method, command duration as a histogram, and a periodic key-count gauge from a new len method on the database, read on an interval rather than per command. Add a test that installs a recorder in-process, drives a set and a get through the existing test harness and asserts on the rendered text. Run the same cargo build, test and fmt commands the CI workflow runs, with and without the otel feature, start the server with the flag and include a /metrics excerpt. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}