August 2024 Summaries
10 posts from Sentry
Filter
Month:
Year:
Post Summaries
Back to Blog
We sponsor a developer podcast and make it available on various listening platforms. Sentry handles personal information (PII) collected from its website users, prospective customers, and those who interact with the service by requiring contact with the relevant customer in case of data sent for application monitoring purposes. As a user, you have certain rights related to your PII and can reach out to Sentry's compliance team if you have any questions or concerns about your privacy.
Aug 27, 2024
161 words in the original blog post.
Tracing is the process of tracking the flow of execution within an application, enabling developers to monitor requests and provide detailed insights into performance, bottlenecks, and errors. It helps pinpoint the root cause of issues and ensures a clear understanding of how different parts of the system interact. Tracing can be used to identify elusive performance issues, investigate reported issues, proactively debug code, find the root cause of non-performance issues such as errors and session crashes, learn unfamiliar codebases, and get started with tracing by selecting resources from Sentry's documentation.
Aug 27, 2024
1,304 words in the original blog post.
Mutation testing (MT) is a technique used to evaluate the effectiveness of test suites in catching bugs by introducing small code modifications, known as mutants, and assessing whether the tests can detect these changes. Unlike traditional code coverage metrics that only indicate which parts of the code are executed, MT provides insights into whether tests can identify actual faults. Despite its potential, MT remains niche due to its computational intensity; however, tools like Stryker have introduced optimizations such as per-test mutation coverage and incremental mutation testing to improve efficiency. The process has been explored in Sentry's JavaScript SDK, yielding mixed results with a mutation score of 0.62, indicating that 62% of mutants were detected. Although MT highlighted areas for improvement, it faced limitations due to the lack of support for certain testing frameworks like Playwright, which hindered a complete assessment of the test suite's effectiveness. The experience pointed to the challenges and potential of MT in enhancing test quality while acknowledging performance and integration obstacles.
Aug 23, 2024
3,052 words in the original blog post.
The text discusses the events that occur before a web page is loaded in a browser window, including cache retrieval, DNS lookup, connection establishment, and TLS negotiation. It explains how these events are captured by Sentry using the Performance API and provides guidance on optimizing them to improve web performance. The article highlights the importance of understanding these pre-TTFB events and suggests ways to speed up DNS lookups, connect and TLS negotiation events, and browser request and response events. By visualizing and tracing these events in the Sentry Trace View, developers can identify bottlenecks and make targeted micro-optimizations to improve their web page's performance.
Aug 20, 2024
3,123 words in the original blog post.
Bundle Analysis is a new product from Codecov designed to provide developers with insights into their JavaScript bundles by using a set of bundler plugins that integrate with various Git workflows. These plugins, once installed and configured, collect data during the application bundling process and upload it to Codecov, allowing developers to analyze metrics such as bundle size and problematic assets. A key feature of Bundle Analysis is its ability to work with GitHub Actions, where it faces challenges due to merge commits created during the CI process, which can result in incorrect commit SHAs. To address these issues, Codecov uses the @actions/github package to correctly identify and compare the head and base commit SHAs by leveraging the GitHub Action context payload. This ensures accurate tracking and comparison of bundle statistics even in fast-paced development environments with numerous contributors. The bundle stats are processed and stored in a SQLite database, where the correct commit SHAs are maintained for analysis, while also providing a fallback to the pull request's comparison commit SHA for coverage comparisons.
Aug 19, 2024
1,783 words in the original blog post.
Sentry has introduced AI Grouping, a feature that improves issue creation by leveraging advanced embeddings models to create semantic fingerprints of errors, resulting in a 40% reduction in issue volume for early adopter projects. Additionally, ML Priority Alerts uses machine learning algorithms to filter out trivial and unactionable problems, reducing alert volume by an average of 35%. These features aim to reduce duplicate and single-event issues, improve how issues are created, and help teams focus on what really matters by filtering out noisy alerts. Sentry is also working on other improvements, including AI Autofix, a revamped issues search experience, and anomaly-based metric alerts.
Aug 14, 2024
687 words in the original blog post.
The Twilio Flex Agent Desktop is being monitored with Sentry for application observability and error monitoring, enabling developers and call center specialists to capture and resolve errors quickly. A custom Flex Plugin, flex-sentry, has been created using the Sentry React SDK to integrate Sentry into Twilio Flex. This integration allows contact center agents to provide feedback via an embedded widget, capturing user feedback and reproducing errors with Session Replay. To set up the integration, users need to have a Twilio account, install the required CLI tools, create a new profile, and test the plugin locally before deploying it to their Twilio Flex instance. Once deployed, the plugin can be enabled and verified to ensure it is working correctly, providing visibility and context for error management and support teams.
Aug 13, 2024
832 words in the original blog post.
In this article, Dan Mindru, a frontend developer and designer, uses Sentry's Trace View to identify performance bottlenecks in his API call. He discovers that the endpoint is slow due to multiple HTTP calls, file I/O, third-party calls, and database queries. To optimize the performance, he sets up custom instrumentation using Sentry's methods to track operations, such as file I/O and HTTPS calls. He then identifies long-running spans, waterfall spans that wait for each other, and inefficient span order that have to wait on each other. By parallelizing decoupled spans, optimizing image processing, changing the Gen AI model, moving the Gen AI span to start, and reordering independent spans, he is able to shave off 22.3 seconds of load time from his API call. The article concludes with a discussion of future optimization opportunities and emphasizes the importance of setting up tracking to identify performance bottlenecks.
Aug 07, 2024
2,438 words in the original blog post.
Sentry is launching Fair Source, a new approach to software sharing that balances user freedom with developer sustainability for modern businesses. This approach, which includes licensing models such as the Functional Source License (FSL), allows companies to share their software products and platforms while maintaining control of their roadmap and business model. The concept of Fair Source emerges within the context of Free and Open Source Software (FOSS) and is designed to resolve a long-standing tension between community and commercial approaches in software development. With Fair Source, companies can now engage with developer communities for their core products without compromising their business model, making it possible for more companies to adopt open-source models while maintaining control over their intellectual property.
Aug 06, 2024
772 words in the original blog post.
The latest updates from Sentry have enhanced debugging workflows with features such as more context in issues and traces, customizing Event Highlights, and improved React component identification. The new Trace View offers zooming capabilities and displays associated data within a trace. Additionally, the platform now reduces noise in Slack notifications for alerts and automatically resolves Jira tickets when linked to a Sentry issue. Automatic code mappings have also been introduced for PHP and GO projects, while the Issue Priority feature helps focus on high-impact issues. These updates aim to streamline debugging processes, improve data visibility, and enhance overall user experience.
Aug 01, 2024
764 words in the original blog post.