Skip to main content

Monitoring

ShipFree includes Sentry instrumentation hooks for client, server, and edge runtimes.

Key files

  • instrumentation.ts registers the runtime config
  • instrumentation-client.ts configures client-side Sentry
  • sentry.server.config.ts for server runtime
  • sentry.edge.config.ts for edge runtime

Setup

  1. Create a Sentry project and obtain the DSN
  2. Set SENTRY_DSN in your environment
  3. Replace the placeholder dsn values in the Sentry config files
The shipped config enables performance tracing and logs. Adjust sampling rates for production.