Posts tagged “Prometheus”
hapi monitoring and logging: hapi-pino, request lifecycle events and APM
hapi 21 gives you a hook for every layer of monitoring. Set up hapi-pino with redaction, per-route Prometheus metrics, Boom error logging and OpenTelemetry traces, with code we ran and the output it printed.
Koa monitoring and logging: request logs, metrics and APM for Koa 2 and 3
A Koa timing middleware that only uses try/finally logs every crash as a 404. How to set up Koa logging with pino, per-route metrics with prom-client, error reporting and OpenTelemetry traces, tested on Koa 2 and 3.
Fastify monitoring: hooks, metrics and APM for Fastify 4 and 5
Set up Fastify monitoring that shows which route got slow and why: onResponse timings, fastify-metrics histograms, @fastify/otel spans per hook, and under-pressure load shedding, with output from real runs.
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.