> ## Documentation Index
> Fetch the complete documentation index at: https://shipfree.revoks.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Monitoring

> Sentry integration and runtime hooks.

# 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

<Info>
  The shipped config enables performance tracing and logs. Adjust sampling rates for production.
</Info>
