Introduction
SDK Integration Options
Understanding the differences between Sentry and PostHog SDKs
SDK Integration Options
Decipher AI supports two primary SDK options: Sentry and PostHog. Each has different capabilities and platform support.
Sentry SDK
Platforms Supported:
- Frontend: Browser, React, Vue, Angular, etc.
- Backend: .NET, FastAPI, Flask, and more
Key Features:
- Error tracking and monitoring
- Performance monitoring
- Release tracking
- Source maps support
PostHog SDK
Platforms Supported:
- Frontend: Browser, React, Vue, Angular, etc.
- Backend: Limited support (see limitations below)
Key Features:
- Event tracking
- User identification
- Feature flags
- A/B testing
Backend Support Limitations
While Sentry provides comprehensive backend SDK support, PostHog has limited backend integration capabilities. For backend frameworks like .NET, FastAPI, and Flask, we recommend using the Sentry SDK for error tracking and monitoring.
Choosing the Right SDK
- Frontend-only applications: You can use either Sentry or PostHog, or both
- Full-stack applications: Use Sentry for backend error tracking and choose either SDK for frontend
- Complex monitoring needs: Consider using both SDKs to leverage the strengths of each
Integration Examples
See our framework-specific guides for detailed integration instructions: