Billing must be correct: How Orb uses Sentry to protect customer trust

quote mark

“Orb is responsible for making sure billing is correct. A bug can mean that billing isn’t correct – that’s why we use Sentry.”

Orb

About Orb

Orb is innovating on billing with real-time visibility into consumption, helping teams move from a manual and error-prone process to a more transparent experience. Integration with Orb provides companies a real-time view into their customers’ usage across all the metrics they charge on.

Since Orb’s platform is mission-critical for revenue, accuracy and performance play a vital role in its success. A delay in identifying and resolving issues can significantly impact Orb’s customers and their users.

We sat down with sri raghavan-hernandez, Founding Engineer and Technical Architect, and Eric Murphy, Engineering Manager, to talk about how they’re using Sentry.

Sentry everywhere

“It was pretty difficult to find out what went wrong when something went wrong,”

- sri raghavan-hernandez, Founding Engineer and Technical Architect, Orb

When Orb was first scaling up, they relied on CloudWatch logs and other native AWS instrumentation. But one of the first things Sri did was roll Sentry out consistently across every service, with shared conventions for how errors and warnings were reported.

Orb’s frontend runs on TypeScript and React. The backend is Python on AWS with separate APIs for the web app, public API, and asynchronous services. All of it uses Sentry.

“Knowing that Sentry has SDKs and libraries for any language, for any runtime, was really helpful.”

- sri raghavan-hernandez, Founding Engineer and Technical Architect, Orb

How they use Sentry

What started as just error monitoring has grown. Orb now uses session replay, logs, tracing, and metrics in Sentry to find and fix issues faster.

Unified telemetry for debugging

Having more telemetry in Sentry makes debugging faster for both Orb’s engineers and coding agents.

“It is just much quicker for something like Claude Code to make the MCP calls it needs to diagnose the problem, rather than having to guess which tool the information is going to be in. It’s just a couple of calls to Sentry to understand what the problem is and fix it.”

- sri raghavan-hernandez, Founding Engineer and Technical Architect, Orb

Seeing what the user saw

Orb relies on session replay in Sentry to better understand the actual experience of an error. For example: If a user clicks something and the backend throws an error, they can see how the frontend responds and what the user saw.

“Many of our customers are very fast growing, and they don’t always know how Orb operates or the exact names of things. We’re able to see what operations they went through and understand their thought process.”

– Eric Murphy, Engineering Manager, Orb

Intelligent alert management

It’s important that engineers are alerted of important issues immediately, while also ensuring that too much noise does not lead to incident fatigue. Orb uses Sentry’s custom alerting framework and tooling integrations to accomplish this in a streamlined way:

Every new or re-opened issue in Sentry creates a task in Asana, Orb’s project management solution. This integration uses the fields available in the Sentry issue to populate the task’s custom fields, indicating environment, number of instances, stacktrace, and a direct link to the Sentry dashboard.

For production environments, Sentry’s threshold-based alerts trigger PagerDuty incidents, notifying the current on-call team that an issue requires their immediate attention and resolution.

oncall-dashboard-orb.png

Orb also makes heavy use of Sentry’s capture_message functionality to understand the context in which specific scenarios are hit. For example, a function might capture a non-critical message when an unexpected or unparseable webhook is seen from a vendor. Although it’s most likely not a cause for concern, these warnings allow engineers to form a much better understanding of the instance, including the stacktrace and local variables. Sentry shines at this task, requiring no special setup and building a much more informative picture rather than a single counter or custom metric.

Why Sentry

Sri connects it back to trust: “You just cannot operate high-quality software without good instrumentation of what your users are running into, and actually being able to fix those problems as they come up. That is what builds trust. Without this kind of observability, it would be very, very hard to reach that quality bar.”

Fix It

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.