Overview
Integrations provide:- Automatic instrumentation (HTTP, database, etc.)
- Error filtering and processing
- Context enrichment
- Framework-specific features
- Custom event processing
Integration Interface
Adding Integrations
During Initialization
Adding at Runtime
Built-in Integrations
HTTP Instrumentation
Automatically captures HTTP requests:Capture Console
Captures console messages as breadcrumbs:Context Lines
Adds source code context to stack traces:Modules
Adds module information to events:Creating Custom Integrations
Basic Integration
Event Processing Integration
Instrumentation Integration
Integration Setup Flow
Frompackages/core/src/integration.ts: