Blog
Posts tagged “NestJS”
Logging
NestJS logging: the built-in Logger, nestjs-pino and request logs that include rejected requests
Nest's built-in Logger prints no request logs, and logging interceptors never see a guard's 403 or an unmatched 404. This guide sets up nestjs-pino with request IDs, redaction and route patterns, tested on NestJS 11 and 12.
Monitoring
NestJS monitoring: metrics, APM and tracing that see guards and interceptors
NestJS monitoring that counts every request: per-route Prometheus metrics from middleware, OpenTelemetry tracing on NestJS 11 and 12, and what interceptors miss.
Coding
The NestJS production checklist: what to log, measure and block
NestJS adds guards, interceptors, pipes and request-scoped providers to every request, and each one shows up in your latency and your logs. A practical checklist for what to log, what to measure and what to block before you ship.