Fastify-native plugin
Instrument Fastify 4–5 through lifecycle hooks designed for the framework request model.
Fastify API monitoring
Add customer context to Fastify errors, slow routes and release regressions with native hooks and bounded asynchronous delivery.
Customer-aware observability
Preserve Fastify's performance model while connecting route-level operational signals to the accounts and integrations your team supports.
Instrument Fastify 4–5 through lifecycle hooks designed for the framework request model.
Connect failed requests and stable error codes to the authenticated accounts that encounter them.
Compare latency and reliability by route template rather than high-cardinality raw URLs.
Append events to a bounded queue while batching and network delivery stay outside the response path.
Use the Fastify close lifecycle to deliver pending events within a fixed timeout.
Exclude bodies, credentials, cookies, query values, email addresses and client IP addresses.
Setup
Keep your current logging and tracing stack. Add the customer context that generic infrastructure monitoring cannot provide.
Add the framework adapter and shared Apirelio core package from npm.
Provide the ingestion key and map the authenticated request to a stable customer ID.
Send a request and inspect customer-level reliability, latency and release impact.
Questions
Register the Apirelio Fastify plugin after authentication and provide a resolver that maps each request to the authenticated customer and consuming application.
No. Capture uses a bounded in-memory queue, while batching, retry and network delivery run outside the observed customer response path.
Yes. It records timing, framework errors, final status and the resolved route through the Fastify request lifecycle and flushes during shutdown.
No. Request bodies, response bodies, credentials, cookies and query strings are excluded from Apirelio telemetry.
Start with the requests you already serve
Connect API reliability to customer impact with a privacy-safe event model and framework-native setup.