Home / Companies / Sentry / Blog / June 2024

June 2024 Summaries

7 posts from Sentry

Filter
Month: Year:
Post Summaries Back to Blog
In designing a multi-region Sentry system, the team initially did not plan for cross-region data replication but later found it necessary to ensure efficient and correct operations, such as looking up an organization's region or validating API tokens. The solution required resiliency to network failures and the ability to backlog changes without system failure, leading to the adoption of a distributed systems pattern called transactional outboxes. This pattern ensures atomic operations and eventual consistency with at-least-once delivery semantics by storing changes in outboxes within the same transaction as the data change. Outboxes are processed using Remote Procedure Calls (RPC), and the design supports customer isolation by categorizing and sharding messages, allowing parallel processing. The team rejected other solutions, such as Postgres replication and Change Data Capture with Kafka, due to complexity and over-replication issues. To prevent consistency issues from forgotten outbox records, the team updated their ORM models and built tooling to audit SQL queries during tests. Despite challenges like webhook delivery latency and outbox loops, the outbox system has proved effective, delivering nearly 1 billion messages and enabling a gradual rollout that provided performance baselines and operational confidence.
Jun 28, 2024 1,831 words in the original blog post.
The latest update to the JavaScript v8 SDK makes it easier to get started with Sentry, broadening automatic instrumentation support for more frameworks and libraries, including popular ones like Express, pg, mongodb, and graphql. The new release also incorporates OpenTelemetry's Node SDK, providing more detailed span data and improved tracing capabilities. To simplify customization, the required configuration has been reduced from 85 lines of code to less than 10. The updated Tracing API focuses on spans, making it easier to track operations in applications with little to no configuration. This release aims to deliver the best auto-instrumentation possible while providing tools for more nuanced applications that require custom instrumentation.
Jun 27, 2024 857 words in the original blog post.
Google Lighthouse is a tool used to assess web page performance, prioritizing usability over raw speed. Its performance score is calculated using a weighted combination of core web vital metrics and other speed-related metrics. The main goal of this article is to explore how to "hack" Google Lighthouse scores in favor, while also acknowledging that these hacks may not be suitable for real-world use cases. To improve FCP scores, displaying a minimal viable LCP element on load can trick Lighthouse into thinking the page is useful quicker than it actually is. However, this approach should not be used to compromise user experience. Similarly, deferring loading content that will cause layout shifts until the Lighthouse test has likely finished can improve CLS scores. The Speed Index score and TBT score cannot be "hacked" as they are based on real page load times. Ultimately, Google Lighthouse is just a rough guide for debugging performance, and its limitations should not be overlooked.
Jun 26, 2024 4,048 words in the original blog post.
Don't observe, debug.` This phrase is at the heart of the approach to building observability tooling, which aims to help developers take action and solve bugs, errors, and issues. The new spans-first tracing model makes it easier to query critical information like database queries and network requests, allowing for faster diagnosis and resolution of problems. A redesigned Trace View provides full visibility of application requests from frontend to backend and across services, giving developers the context they need to debug issues efficiently. With metrics and custom tags available in the Trace View, developers can get a more complete picture of their application's performance and behavior. By actively seeking feedback and iterating on these features, the goal is to create a powerful tool that helps developers solve problems quickly and effectively.
Jun 20, 2024 658 words in the original blog post.
The partnership between Sentry and Laravel enables PHP developers to easily add error monitoring and tracing capabilities to their applications with just a few clicks through Forge and Vapor UI. This integration aims to help developers collect real telemetry on their projects more efficiently, building upon the already large user base of Laravel users who rely on it for application development. With this partnership, Sentry supports its growing user base of PHP developers by providing a seamless experience for managing, deploying, and debugging applications built with Laravel.
Jun 10, 2024 420 words in the original blog post.
We've recently added two significant features to the User Feedback widget in Sentry: user-generated screenshots and automatic spam detection. The former allows users to attach screenshots directly to their reports, providing more context for developers to troubleshoot issues. This feature is particularly useful for users who may not be familiar with technical terms or want to highlight specific components on a page that are causing problems. Meanwhile, the latter uses Google's PaLM 2 model to automatically detect spammy feedback submissions and move them to a "Spam" folder, reducing noise and improving the quality of actionable feedback. With these updates, Sentry is making it easier for developers to get context into bug reports without being overwhelmed by unuseful submissions.
Jun 06, 2024 851 words in the original blog post.
Sentry has transformed Dan Mindru's development experience by providing a seamless installation process, a user-friendly interface, and a feature-rich platform that streamlines error tracking and log analysis. By integrating Sentry, Dan was able to resolve issues quickly, identify performance bottlenecks, and improve his overall system stability. He credits Sentry with improving his user experience, reducing his stress levels, and enabling him to focus on marketing and growth instead of manually sifting through logs. With Sentry, Dan has gained valuable insights into his application's performance, allowing him to optimize his code and prioritize features that make a significant impact on user experience.
Jun 05, 2024 1,571 words in the original blog post.