This page demonstrates the integration of Sentry and OpenTelemetry for error tracking and observability.
Sentry captures and reports errors in your application, providing detailed information to help you debug issues.
OpenTelemetry provides distributed tracing for your application, helping you understand performance and dependencies.
This demo uses Sentry for error tracking and OpenTelemetry for distributed tracing. The "Trigger Handled Error" button demonstrates how to manually capture errors with Sentry. The "Trigger Unhandled Error" button shows how ErrorBoundary components can catch and report unhandled errors. The "Call Instrumented API" button calls an API route that is instrumented with both Sentry and OpenTelemetry.