Sentry starter module
Monitoring library
Centralizes safe context, ignored errors, tags, and Sentry capture helpers.
- Files
- 6
- Lines
- 548
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
src/lib/app-adapter.ts
Connects generic Sentry handlers to your app's database and notification
TypeScript
132 lines
src/lib/dsn.ts
Parses the Sentry DSN into the pieces every raw API call needs.
TypeScript
68 lines
src/lib/env.ts
Reads and validates the settings this pack needs from the environment.
TypeScript
73 lines
src/lib/scrub.ts
Removes likely secrets from context before anything is sent to Sentry.
TypeScript
38 lines
src/lib/sentry-client.ts
Sends envelopes to Sentry's ingestion endpoint with plain fetch calls.
TypeScript
145 lines
src/lib/types.ts
Shared types for the monitoring adapter contract and Sentry event handling.
TypeScript
92 lines