Coding task · NestJS course · Module 12: Containers and CI/CD
Configuring Prometheus metrics in NestJS
Complete the Prometheus metric definitions: Counter, Gauge, Histogram.
Task
Define three metrics: http_requests_total (Counter with labelNames: method, route, status), active_connections (Gauge), http_request_duration (Histogram)