December 2019 Summaries
8 posts from Sentry
Filter
Month:
Year:
Post Summaries
Back to Blog
In a session focusing on debugging a segmentation fault in the Rust-written application Symbolicator, the authors explore the integration of Sentry's Native SDK for handling native application crashes. Despite Rust's memory-safety features, crashes can occur due to factors like unsafe code or interop with C/C++. By deliberately causing a segmentation fault through unsafe code, they demonstrate how to use the Crashpad distribution of the Native SDK to create a minidump and link it to Rust applications via a dynamic library, facilitating error reporting and debugging. Additionally, they discuss uploading debug information to Sentry for enhanced error resolution and highlight the versatility of the sentry-native SDK across various programming environments. The session underscores the value of combining Sentry's tools with Rust to effectively manage and debug application crashes.
Dec 19, 2019
908 words in the original blog post.
The text discusses how to debug a Rust segfault using Sentry's Native SDK. The authors chose Symbolicator, a service responsible for processing native crash reports, as a test subject due to its potential for humor but ultimately found it not funny at all. They introduced a segmentation fault in the code and used the Native SDK to create a minidump when the application crashes, which is then sent to Sentry for analysis. The authors demonstrate how to initialize the Native SDK from Rust code using C functions and provide guidance on best practices for integrating Sentry into Rust applications.
Dec 19, 2019
913 words in the original blog post.
At Sentry, they use GitHub integration to link issues, identify suspect commits, and suggest assignees who can resolve each issue, utilizing their own Integration Platform to create customized workflows and combine third-party tools within a repository. They recently released an official GitHub Action for creating Sentry releases, allowing developers to automate the process of creating new releases and deploying them to various environments. The workflow file defines environment variables, steps to run, and jobs that can be triggered by events such as push events to a specific branch. To authenticate with Sentry's API, developers need to create an internal integration token which is stored in GitHub secrets. This token is used to install the Sentry CLI, create a new release, finalize it, and deploy it to a specified environment. The workflow also demonstrates how to update Heroku's environment variable for the SENTRY_RELEASE and deploy the app to Heroku. Once the workflow completes, new events from the project can be associated with the latest release by triggering an error in the project, such as adding an Express route that throws an error. Additionally, developers can use pre-defined GitHub Actions created by others or create their own custom workflows using Sentry's command line interface and REST API.
Dec 17, 2019
1,238 words in the original blog post.
Sentry integrates with GitHub Actions, a service that automates software development workflows, allowing developers to create customized, automated workflows and combine their favorite third-party tools directly from within a GitHub repository. To use this integration, developers need to set up an Internal Integration token in Sentry and configure it as an environment variable in their workflow file. This allows the workflow to authenticate with Sentry's API when creating a new release. The workflow can then create a new Sentry release and deploy it to various environments using the Sentry CLI or other tools like Heroku. By combining this integration with GitHub Actions, developers can customize their development pipeline to suit their needs.
Dec 17, 2019
1,225 words in the original blog post.
The software development industry is undergoing significant changes with advancements in technologies like the cloud, microservices, and virtualization, leading to a shift towards building consumer apps on mobile devices. As consumers demand better digital experiences, businesses are refocusing their resources to build better applications, which will lead to new trends in frontend development and tooling. Frontend development teams will merge with DevOps, becoming more generalized in skillsets and responsible for development, testing, and operations, while also interacting with monitoring tools to ensure uptime. The plethora of tools and frameworks is adding complexity, but JavaScript is growing in popularity as the glue for modern apps, and IT teams will seek to simplify their stacks by adopting universal solutions that span multiple platforms. Monitoring will evolve to include user interactions, requiring a more comprehensive understanding of application performance and business value.
Dec 12, 2019
803 words in the original blog post.
The software development industry is undergoing significant changes in 2020, driven by consumer demand for better digital experiences. Frontend development is expected to merge with DevOps, leading to a shift towards more generalized teams responsible for development, testing, and operations. The proliferation of tools and frameworks will continue to add complexity to the ecosystem, but new tools and frameworks will emerge to integrate technologies. JavaScript will become the glue for modern apps, while IT teams seek to simplify their stacks by consolidating platforms and reducing risk. Monitoring will evolve to include user interactions, as development teams focus on building applications that drive business value.
Dec 12, 2019
800 words in the original blog post.
The Sentry Android SDK is a tool for collecting crash reports and exceptions in Android applications. To install the SDK, developers need to add it as a dependency to their build.gradle file and set compatibility options to be compatible with Java 1.8. The SDK can capture uncaught exceptions and report them to Sentry, providing rich error context that includes information about the user, tags, breadcrumbs, and more. Developers can integrate the SDK with their favorite framework or library to extend the context of the error reports. The SDK also provides callbacks for modifying the content of the reports or canceling the submit of the report. With the Sentry Android SDK, developers can take control of how they want to handle errors in their application and improve the overall user experience.
Dec 10, 2019
1,906 words in the original blog post.
The Sentry Android SDK is a tool that helps developers monitor their app's performance and crashes by sending error reports to a remote server for analysis. The SDK can be integrated into an Android project through Gradle, and it provides features such as automatic crash reporting, uncaught exception handling, and integration with popular logging libraries like Timber. To use the SDK, developers need to add the dependency to their `build.gradle` file, set up the DSN (Client Key) in the AndroidManifest.xml, and configure the plugin for Proguard/R8 mapping files. The SDK also provides a UI for viewing error reports, including crash reports, uncaught exceptions, and ANR reports. Additionally, developers can add custom tags, breadcrumbs, and user information to enhance the error context. Integrations with other libraries and frameworks are possible through API calls, allowing developers to extend the error report with additional data. The SDK also includes features like automatic initialization, configuration options, and callbacks for modifying the content of the reports or canceling their submission.
Dec 10, 2019
1,908 words in the original blog post.