Error analytics solutions like Rollbar can connect errors seen in your system to specific lines of code that may be causing the issue, allowing developers to quickly remediate issues before they become widespread. However, the problem with many of these tools is that in a distributed system, different services owned by different teams often collect varied telemetry data, making it difficult to trace an issue through the stack.

When you’ve instrumented your services with OpenTelemetry, you can add attributes that hold all the error metadata and then see this data directly in Lightstep Observability when troubleshooting any issues.

We’ve built an experimental OpenTelemetry plugin that works with Rollbar to automatically create Rollbar metadata as attributes. Whenever Rollbar is called from the Node.js service, it collects that metadata and adds it to the span.

If you’re using OpenTracing, see our previous learning path for integration details with Rollbar.

When you view a trace in Lightstep Observability, when a span contains a call to a Rollbar, the Rollbar UUID displays in the Attributes panel. Feature flag metadata

Follow along using our code sandbox!

You’ll learn how to:

  • Quickly instrument your Node.js service using Lightstep’s OpenTelemetry Launcher.
  • Download, install, and register the plugin.
  • View Rollbar data in the Trace view.

Before you begin

You’ll need the following to complete this Learning Path:

  • A Lightstep Observability account. Lightstep offers a free Community account. If you don’t already have an account, you can sign up here.

    If you company already has an account, click Join an existing team in the Sign Up dialog.

  • A Node.js app.

    Looking for other language support for Rollbar? Get in touch with us.

  • An account with Rollbar.