Operations | Monitoring | ITSM | DevOps | Cloud

Sentry

Sentry Bundle Size: How We Reduced Replay SDK by 35%

Bundle Size matters - this is something we SDK engineers at Sentry are acutely aware of. In an ideal world, you’d get all the functionality you want with no additional bundle size - oh, wouldn’t that be nice? Sadly, in reality any feature we add to the JavaScript SDK results in additional bundle size for the SDK - there is always a trade off to be made. With Session Replay, this is especially challenging.

Fetch Waterfall in React

Have you seen this problem? Or maybe this one? You’ve most likely seen this: Hint: they’re all the same. The first image is Sentry’s Event Details page, the second is Chrome’s Network tab, and the code snippet is what causes it. If you can answer yes to any of these, then you need to keep reading. If not, you still need to keep reading, so your future self can thank you. This is called “fetch waterfall” and it’s a common data fetching issue in React.

Fallbacks for HTTP 404 images in HTML and JavaScript

Your images are 404ing all over the place. You’ve got an angry email from a client. Their site is “broken”, images aren’t loading, cumulative layout shift is running riot, and everything is messed up. The crowds are mocking your broken code on Twitter. A fun GIF loaded via a Giphy URL no longer exists. And someone has accidentally deleted an image from the CMS.

Web Unleashed 2023: Maximize App Performance By Optimizing Web Fonts - Lazar Nikolov

You’ve just landed on a web page and you try to click a certain element, but just before you do, an ad loads on top of it and you end up clicking that thing instead. That…that’s a layout shift. Everyone, developers and users alike, know that layout shifts are bad. And the later they happen, the more disruptive they are to users. In this workshop we’re going to look into how web fonts cause layout shifts and explore a few strategies of loading web fonts without causing big layout shifts.

Spotlight: Sentry for Development

A long time ago I worked on a project called Django Debug Toolbar (DJDT). It was a local development plugin that would give you a debug overlay within Django’s development environment, helping you diagnose things like the SQL queries being made, environment configuration, and what templates were rendered. In general, it made the local dev experience much better, helping you prevent or more easily fix things like N+1 queries.

Web Unleashed 2023: Publishing JavaScript Libraries Made Easy - Abhijeet Prasad

Now more than ever, it’s complicated to publish an JavaScript library, especially if it’s open source. You have to keep in mind different JS runtimes, different TypeScript settings, and different bundler configurations – let’s not even get started on ESM vs. CJS.

Licensing and the Future of Open Source | Day 5 | Sentry Launch Week

Today we’re taking another step by relicensing both Sentry and Codecov under a new license we’ve written called the Functional Source License (FSL). FSL is an evolution of BSL that deepens our commitment to balancing user freedom and developer sustainability. We think it is a compelling option for Open Source-minded SaaS companies such as ourselves who wish to grant freedom without harmful free-riding.