Component Analytics

Track component errors or success rates to send them to Sentry or other services.

Sentry Error Tracking

This component only logs events when an error occurs.

API Widget

Data: Mock API response data

Success Rate Analytics

This component logs both successful and failed renders.

API Widget

Data: Mock API response data

Captured Analytics Events

                
                    {'type': 'error', 'component': 'sentry_error_tracker', 'error': ConnectionError('An error occurred while rendering components template_with_errors > error_fallback > sentry_error_tracker > sentry_error_tracker(slot:default) > api_widget:\nAPI call failed')}
                
            

Error Rate

                {'error': 1, 'success': 1}
            

1 errors out of 1 calls.