{"agent":"codex","input":"Add Prometheus metrics to the postgres sample in this Ktor repository and open a pull request. Read postgres/build.gradle.kts, postgres/gradle.properties, postgres/src/main/resources/application.yaml, postgres/src/main/kotlin/com/example/PostgresApplication.kt, postgres/src/main/kotlin/com/example/plugins/Routing.kt, postgres/src/main/kotlin/com/example/plugins/Serialization.kt, postgres/docker-compose.yaml and build-all.sh first. Add ktor-server-metrics-micrometer-jvm and micrometer-registry-prometheus with an explicit version. Create plugins/Monitoring.kt with configureMonitoring that installs MicrometerMetrics on a PrometheusMeterRegistry with the JVM binders and serves registry.scrape() at GET /metrics as text/plain. Call it from module before configureRouting. Split the database wiring into an articlesModule function so configureMonitoring can be tested without PostgreSQL. Add src/test/kotlin/MonitoringTest.kt using testApplication that asserts /metrics answers 200 with jvm_memory_used_bytes and, after a second request, the ktor_http_server_requests_seconds_count series for the /metrics route. Run ./gradlew build and paste the output in the pull request. Do not change ArticleService or the /articles routes.","resources":[{"url":"https://github.com/your-org/your-app"}]}