Home / Companies / Sentry / Blog / May 2024

May 2024 Summaries

9 posts from Sentry

Filter
Month: Year:
Post Summaries Back to Blog
A React component name annotation feature has been developed to enhance the readability and debuggability of CSS selectors in production environments, particularly within Sentry. By using a Babel plugin in conjunction with bundler plugins for Vite, Webpack, and Rollup, React component names are attached to the compiled HTML, replacing minified class names. This integration improves the ability to search for specific interactions in Sentry, such as rage click issues, dead clicks, and session replays, by simplifying the identification of components in the codebase. The Sentry JavaScript SDK version 7.91.0 supports this feature by parsing and attaching component names to recorded events. The annotation plugin aids in debugging by providing essential component information directly within browser dev tools, helping developers quickly locate and address issues like UI bugs without the need to sift through numerous components manually. Additionally, the plugin facilitates the development of new features by making it easier to identify relevant components and source files in production, emphasizing the importance of using clear and descriptive component and file names.
May 30, 2024 1,256 words in the original blog post.
Sentry recently completed a multi-month project to remove all non-essential cookies and trackers from their public websites. The company's primary motivation for this effort was to align with its corporate privacy values, aiming to provide the Sentry experience as secure as possible. To identify which cookies were on their site, they used specialized tools, including Content Security Policy (CSP), a feature that helps detect and mitigate security threats. CSP allowed them to identify most, if not all, third-party scripts on their websites, enabling them to put together a comprehensive picture of the cookies and trackers being dropped by these scripts. The company removed cookies entirely, disabled tracking in tools, or used privacy-centric tools as alternatives. To ensure compliance with privacy laws and prevent new cookies from dropping, they implemented CSP and continuously monitored for unapproved cookies using custom scripts and cookie scanners. With this approach, Sentry aims to provide a secure experience for its users while promoting transparency and accountability in the use of tracking technologies.
May 29, 2024 3,498 words in the original blog post.
The text discusses React Server Components (RSCs), a new approach to rendering that leverages server-side and client-side rendering as well as HTML streaming to deliver content quickly. RSCs aim to address the limitations of traditional CSR and SSR approaches, offering improved performance, SEO, and user experience. The architecture introduces two component types: Server Components and Client Components, which help streamline content delivery while maintaining interactivity. However, it also presents new challenges in areas like state management, authentication, and component architecture. RSCs have the potential to revolutionize rendering practices in modern web development, offering a compelling case for their adoption.
May 22, 2024 5,011 words in the original blog post.
Having a personal website is essential for developers, and it can serve as a showcase for their work, skills, and personality. A personal website can also be used to build community, test new features, or experiment with different technologies without worrying about deadlines or client feedback. To improve performance, consider serving static HTML as much as possible, optimizing images by converting them to next-gen formats, using system fonts instead of custom fonts, removing render-blocking resources, and using less JavaScript. By implementing these five easy tips, you can significantly boost the performance of your personal website, which will also benefit any other websites or projects you work on.
May 16, 2024 2,319 words in the original blog post.
Sentry has introduced data residency in the EU alongside its US offering, necessitating a reimagined multi-region architecture that maintains a seamless product experience without requiring customers to manage multiple logins or region-specific integrations. This new architecture introduces "Control Silo" and "Region Silo" models to organize data, with the former housing globally shared resources and maintaining API compatibility, while region silos remain isolated. To ensure the successful implementation of this system, Sentry employed runtime metadata and Python annotations to simulate silo boundaries and identify necessary code path adjustments, using Django's ORM to enforce these boundaries. This process involved gradually updating tests to a 'silo stable' mode, ultimately achieving full test passing in both current and future operation modes, thus allowing Sentry to confidently proceed toward a physical database split. Despite some challenges, such as lack of context for annotations among teams and incomplete test coverage, the approach provided a robust framework for transitioning to a multi-region setup.
May 16, 2024 1,552 words in the original blog post.
The Sentry team has made significant progress in scaling their organization and expanding their customer base, with over 100,000 customers relying on their cloud service. The company is now looking to tackle new challenges and expand its capacity and scope. Dave Rosenthal, a seasoned technology expert with experience building foundational technology at enormous scales, will be joining the team as Chief Technology Officer. This move allows for a clear alignment of roles and responsibilities within the leadership team. As part of this change, the CEO is transitioning to Chief Product Officer, focusing on product strategy and customer engagement. The Sentry team has been working on improving debuggability, which was initially focused on error monitoring but now encompasses tracing and observability tooling. They recognize that their approach may have fallen into a trap of building new products while assuming existing investments were still optimal, and are now looking to connect tracing technology across various application issues, including TypeScript stacktraces. The company is open to feedback from customers and invites anyone interested in joining the team to send their CV.
May 15, 2024 1,073 words in the original blog post.
To celebrate their recent milestones, Sentry is giving away $100,000 in free swag to its community of over 100,000 organizations and millions of developers who use the platform to simplify debugging and build software with confidence. The company, which has been on a path slightly different from what most people consider "observability," focuses on simplifying debuggability for developers and is laser-focused on one key problem: making debugging any software issue dead simple. Sentry now supports over 100,000 organizations and passed $100 million in ARR last year, with a team that includes co-founder David Cramer transitioning to Chief Product Officer role and new CTO Dave Rosenthal joining the company. The platform enables developers to not only know about problems but also show them how to fix issues in real-time, providing relevant context at their fingertips. Sentry's approach is centered around building innovative solutions for modern developer workflows, with a focus on product-led growth rather than traditional enterprise sales strategies.
May 15, 2024 923 words in the original blog post.
Sentry introduces the User Feedback widget, a simple form that allows users to create bug reports and provide additional debugging context, such as replay data from their session, URL tags, and correlated Sentry errors, which helps developers confirm and fix issues more efficiently. The widget is easy to set up and customizable to match the site's look and feel, providing an unfiltered line of communication between developers and users, enabling them to identify trends across their user base and prioritize high-impact issues.
May 09, 2024 927 words in the original blog post.
The Sentry team used Metrics to track custom data points and identify the issue of high ingestion costs, specifically with the `save_event_transaction` task, which was costing around $160k per year. They set up Metrics to visualize computation time for this task and found that 51% of the time was spent on setting the cache, resulting in significant cost savings. The team made several impactful changes, including optimizing caching, improving traffic distribution, unblocking third-party tools, and moving away from Twemproxy to Mcrouter, which resulted in reduced costs overall. Through a collaborative effort, the Sentry team achieved substantial time and money savings using Metrics.
May 08, 2024 990 words in the original blog post.