Sentry serves as our primary error logging solution for frontend applications, chosen for its robust feature set and reliable error tracking capabilities. While there are several alternatives in the market, we opted to self-host Sentry to maintain full control over our error logging infrastructure. The platform provides comprehensive error tracking and monitoring capabilities, though we've observed some limitations with ad blockers occasionally interfering with frontend requests, resulting in 'blocked by client' console messages, and restrictions in logging form field input values for security reasons.
One of Sentry's standout features is its highly customizable breadcrumb system for log entries. While the default configuration provides basic information with tag and class names, we've significantly enhanced its utility through custom configurations. By implementing additional code to include various element labels in the logs, we've created a more meaningful and actionable error tracking system. This enhanced visibility has greatly improved our ability to diagnose and resolve issues in our applications.