Home / Companies / Sentry / Blog / September 2022

September 2022 Summaries

15 posts from Sentry

Filter
Month: Year:
Post Summaries Back to Blog
Python performance testing is essential for ensuring that Python systems are running efficiently and effectively. By using tools like Timeit and cProfile, developers can measure the execution speed of their code and identify bottlenecks. The choice between Timeit and cProfile depends on the specific use case, with Timeit providing aggregate timing and cProfile offering a detailed breakdown of function calls and time spent in each. Understanding performance testing is crucial for optimizing Python code and ensuring that it meets the required standards of speed and reliability. With the increasing reliance on Python systems, developing this skill will become more critical in the future.
Sep 30, 2022 1,937 words in the original blog post.
Unity exception handling is essential for capturing and managing unexpected errors that break application execution. As a beginner, it's crucial to know common exceptions such as Null Reference Exception, Divide by Zero Exception, Out of Memory Exception, Index Out of Range Exception, and Input-Output Exception. Unity provides methods like Debug.LogException to record possible exceptions, but using try-catch blocks and exception throwing requires careful consideration due to compiler optimizations. A global exception logging mechanism is recommended for handling multiple GameObjects in a scene, and distributed log management services like Sentry can be integrated into the project for automated alerts and real-time issue monitoring.
Sep 30, 2022 920 words in the original blog post.
Sentry's application monitoring platform offers developers additional context needed to resolve performance issues faster, with features such as Dynamic Sampling, which gives developers increased transparency and control over what they monitor and how they monitor it. This allows for more efficient data collection and provides a better understanding of critical latency issues. Additionally, Sentry now detects performance issues in the issues feed, providing developers with real-time visibility into their application's performance. The platform also offers Real User Application Profiling for iOS and Android, which gives mobile developers detailed code-level insight into how their app is performing in production. Furthermore, Sentry introduces Session Replay, a feature that bridges the gap between code and user experience, allowing developers to rewind and replay every step of the user journey associated with an error or performance issue. These features aim to make application monitoring more painless and accessible for every developer.
Sep 28, 2022 1,879 words in the original blog post.
Deploying a Next.js application to production using Vercel, Sentry, and GitHub Actions involves bootstrapping the application, setting up Sentry for error tracking and performance monitoring, configuring Continuous Integration with GitHub Actions, deploying the application to Vercel, and testing the application in production. The process includes creating a new repository on GitHub, pushing the application to the remote repository, setting up a workflow file that triggers a linting step and a build step each time something is pushed to the main branch, and using Sentry Integration for Vercel to connect the Sentry project to the Vercel project in the Settings menu.
Sep 27, 2022 1,801 words in the original blog post.
The Sentry Remix SDK is now available to support frontend JavaScript developers using the Remix framework, providing full-stack monitoring and performance data for applications built with React. The new SDK instruments both client-side and server-side code, allowing developers to monitor errors and performance issues in their application. It was developed in collaboration with the Remix community and maintainers, with features contributed by Onur Temizkan. The Sentry Remix SDK can be installed using npm or yarn, and provides a comprehensive set of monitoring tools for web applications built with Remix.
Sep 23, 2022 443 words in the original blog post.
Relay is an open source project by Sentry that receives data from Sentry SDKs for pre-processing before sending it to an upstream Relay server or ingesting and storing it in the Sentry infrastructure. To make Relay behave like an AWS Lambda Extension, it was implemented using the actor model in Rust, which allows it to process data extensively and scale with large distributed systems. The actor model is a fundamental unit of computation that has its own private internal state and can only perform three operations: creating another actor, sending a message, or deciding how to handle the next message received. Relay uses this model to implement the Sentry Lambda extension, which allows it to receive lifecycle events from Lambda functions and process data in real-time. The implementation involves defining an actor called AwsExtension that calls the register endpoint on startup, sends a NextEvent message to itself upon receiving a NextEvent message, and processes data received when an Invoke event is received. With this implementation, Relay can now be used as an AWS extension, allowing it to scale with large distributed systems and process data in real-time. The approach taken for implementing the Lambda Extension can also be applied to the sidecar approach, bringing features to other platforms that would not be possible without Relay.
Sep 22, 2022 1,717 words in the original blog post.
Flutter's Pub package manager allows developers to easily integrate third-party dependencies across multiple platforms, making it a production-ready tool for building cross-platform apps. The process of adding dependencies involves specifying the dependency in the pubspec.yaml file and then running the 'flutter pub add' command to download the latest version of the package. This can be done using either the pub.dev repository or by downloading from local paths or Git repositories. Sentry, a mobile performance monitoring tool, was successfully integrated into a Flutter project using this process. Once added, dependencies can be easily imported and used in code, with automatic updates available through the 'flutter pub upgrade' command. Overall, integrating third-party dependencies in Flutter is a seamless process that confirms its status as a versatile development tool.
Sep 21, 2022 1,203 words in the original blog post.
Sentry has introduced Performance Issues, a feature that allows developers to monitor and solve performance problems in their code. This feature is designed to provide actionable context to developers, enabling them to identify and fix performance issues faster. The first issue type tackled by Sentry is N+1 database queries, which are common database problems that can easily go unseen until they overwhelm the database or take down the application. Performance Issues uses a "performance detector" to check for excessive database spans and their cumulative duration, outputting performance problems with corresponding fingerprints. This feature provides a condensed span tree in the Issue Details page, along with additional context, allowing developers to quickly identify and address performance issues. Sentry is now available to all early adopters, and the company encourages feedback from users to continue building features that make developers' lives easier.
Sep 19, 2022 1,097 words in the original blog post.
Flutter` is a popular cross-platform tool developed by Google that allows developers to build natively compiled applications for mobile, web, and desktop from a single codebase. As a native iOS developer, the author has been impressed with Flutter's ease of use and learning curve, finding it surprisingly familiar compared to Swift and SwiftUI. The author appreciates the ability to work on multiple platforms from a single framework, which is a significant advantage over traditional platform-specific development. However, they are curious about how easy it is to bring in third-party dependencies for multiple platforms. Overall, Flutter seems like a promising tool for developers looking to expand their reach across different platforms.
Sep 16, 2022 2,185 words in the original blog post.
Rush Capped Time to Resolution by Integrating Sentry With Their CI/CD Pipeline` The top order tracking and revenue generation app on Shopify, Rush, focuses on low-touch and user-centered design, leaving little room for issues impacting customer interaction. As a data-driven solution in the big data space, Rush closely monitors release health and edge cases to resolve issues quickly. By integrating Sentry into their CI/CD pipeline, Rush caps time to resolution at 10 minutes by viewing source code context from stack traces and custom tags to configure error detail levels. This integration helps prioritize issues based on volume or impact, increasing system resilience and quality while avoiding gold-plating. With Sentry's data-driven insight, Rush gained a better understanding of their app's quality, not just monitoring and fixing issues.
Sep 16, 2022 668 words in the original blog post.
Panenco, a Product as a Service studio, focuses on providing fast and frictionless UX to its customers, but faced challenges in handling user feedback and issues in a reactive manner. To mitigate this, they implemented Sentry, an error and performance monitoring solution, which allowed them to quickly identify broken code, crashes, and failed API calls before users were impacted, speeding up investigations and resolving performance issues before they caused "user misery". With visibility into backend performance and the ability to detect endpoints with high response times, developers could cut the time it took to find and improve application performance. The team also integrated performance monitoring with their CICD setup, creating a stress-testing pipeline that generates reports on completion, allowing them to review response times and minimize manual overhead. As a result, Panenco saw up to a 90% reduction in API request execution time for its highest-volume portfolio products, demonstrating the impact of Sentry on their "frictionless user experience" goal.
Sep 12, 2022 620 words in the original blog post.
The Sentry Terraform Provider is an open-source project that allows developers to automate infrastructure creation through code in a declarative fashion, utilizing providers like Sentry. It was built by a community developer and officially sponsored by Sentry to help save time provisioning Sentry projects while giving the option to work from an interface they may already be familiar with. The provider supports various Sentry-specific parameters, including Organization, Teams, Projects, Client Keys, Dashboards, Issue Alerts, and Metric Alerts, enabling automation of error and performance alert settings across multiple projects, configuration of dashboards, and verification of naming conventions. To set up the provider, developers need to include it in a `required_providers` block, configure the provider by providing an authentication token, and run `terraform init`. The provider also offers data sources for organizations, teams, and client keys, allowing users to create resources such as Sentry Teams and Projects with ease. By using this provider, teams can save time provisioning and maintaining infrastructure parameters, and focus on building rather than configuring.
Sep 08, 2022 951 words in the original blog post.
With the latest update to Dashboards in Sentry, developers can build and filter custom dashboards to track key metrics such as session health, user adoption, crash rates, and performance data. These customizable dashboards allow teams to tailor their monitoring to specific needs and use cases, providing a more meaningful and effective way to track releases and identify areas for improvement. By joining form and function with Release Health widgets and a new release filter, Sentry Dashboards enable developers to quickly and easily monitor the health of their releases and make data-driven decisions to solve urgent problems faster.
Sep 08, 2022 416 words in the original blog post.
Integrating GitHub with Sentry enables automated deployment workflows, tracking commit data, issue assignment, and resolution, ultimately improving speed to resolution for developers. This integration allows customers like Forethought to divide up responsibilities, monitor release health, predict issues, and resolve problems via pull requests or commits, reducing their time to resolution by up to 94%. By streamlining the workflow, integrating GitHub with Sentry unlocks full potential of both tools, simplifying team's work, and enabling better code health optimization over time.
Sep 06, 2022 825 words in the original blog post.
The developers of FastAPI and Starlette have released integrations with Sentry, allowing users to easily monitor their applications with performance monitoring features such as trace view and transaction focus/routes. The integration is designed to be easy to use, with automatic detection of FastAPI usage and setup for Sentry support. The collaboration between the developers of FastAPI, Starlette, and Sentry has resulted in a unique release that improves documentation and provides a special experience for users who work with these frameworks. With the new release, developers can now leverage Sentry's features to debug and optimize their applications faster.
Sep 01, 2022 585 words in the original blog post.