Structured logging (Pino) and Prometheus metrics.
nestjs-pino for high-performance JSON logging.
console.log is blocking and unstructured.password, token, email).Logger and set the context (LoginService).reqId (Request ID).
nestjs-pino handles this automatically using AsyncLocalStorage.x-request-id@willsoto/nestjs-prometheus to expose /metrics for Prometheus scraping.http_request_duration_seconds (Histogram)db_query_duration_seconds (Histogram)memory_usage_bytes (Gauge)TypeOrmHealthIndicator / PrismaHealthIndicator.