OpenTelemetry vs Sentry

OpenTelemetry vs Sentry: for production errors, use an error tracker

OpenTelemetry carries traces, metrics and logs to a backend you run or pay for, and an exception reaches it as one event on a span: a type, a message and the stack trace as text. To fix production errors, an error tracker such as Errilo gives you more for less effort: one SDK and a DSN, issues with the code, the local variables and the regressions, and your coding agent connected over MCP.

Updated

Facts about OpenTelemetry, Sentry and OpenTelemetry backends checked on 27 November 2026 in their documentation, linked after each statement. Errilo is in private beta and does not ingest OpenTelemetry data.

At a glance

An OpenTelemetry backend and Errilo compared for production errors
OpenTelemetry and a backendErrilo
Built forTraces, metrics and logs across your servicesProduction errors, until they are fixed
SetupSDK, instrumentation, exporter, often a Collector, and a backend to run or pay forThe Sentry SDK and a DSN
What an exception carriesType, message, stack trace as textFrames with the surrounding code, local variables, breadcrumbs, release, environment, user, request
Grouping into issuesDepends on the backend: some group exceptions, others show them inside tracesBuilt in, by fingerprint
New issues and regressionsDepends on the backendAn alert for every new issue and every regression in a newer release
Bundled or compiled codeLines of the built fileSource maps uploaded at build time, frames shown in your source
Coding agentsDepends on the backendMCP server in every plan, the free one too; auto-fix with your own agent
PricingUsually by volume: GB ingested, events or spansA fixed price per plan, unlimited users, no overage billing
Traces and metricsYes, that is its jobNo: keep OpenTelemetry for them

The same bug, sent both ways

A Node.js checkout reads order.customer.id on an order that has no customer. With OpenTelemetry, the service records the exception on the current span:

checkout.ts, OpenTelemetry
import { trace, SpanStatusCode } from '@opentelemetry/api';

const tracer = trace.getTracer('checkout');

await tracer.startActiveSpan('POST /checkout', async (span) => {
  try {
    await chargeCard(order); // order.customer is undefined
  } catch (err) {
    span.recordException(err as Error);
    span.setStatus({ code: SpanStatusCode.ERROR });
    throw err;
  } finally {
    span.end();
  }
});

The backend receives one event named exception, attached to the span, with three attributes. The stack trace is a single string, the error.stack of V8. Source: Semantic conventions for exceptions on spans, checked on 27 November 2026.

Span event (Node.js 24, @opentelemetry/sdk-trace-node 2.12.1, paths shortened)
name: exception
attributes:
  exception.type: TypeError
  exception.message: Cannot read properties of undefined (reading 'id')
  exception.stacktrace: "TypeError: Cannot read properties of undefined (reading 'id')\n
    at chargeCard (/app/dist/checkout.js:12:37)\n
    at /app/dist/checkout.js:20:13\n
    at AsyncLocalStorage.run (node:internal/async_local_storage/async_context_frame:65:14)\n
    …"

With the Sentry SDK pointed at Errilo, the same error is captured on its own, uncaught or caught by your framework:

instrument.ts, Sentry SDK with an Errilo DSN
import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: process.env.SENTRY_DSN, // https://<key>@ingest.errilo.com/<project>
  release: '[email protected]',
  includeLocalVariables: true,
});
What Errilo receives (Node.js 24, @sentry/node 11.12.0, excerpt, paths shortened)
TypeError: Cannot read properties of undefined (reading 'id')
  at chargeCard (/app/dist/checkout.js:14:37)
       13 |   const amount = order.total;
    >  14 |   const customerId = order.customer.id;
       15 |   return { amount, customerId };
     order  = { id: 'ord_42', total: 4900 }
     amount = 4900

release      [email protected]
environment  production
user         { id: 'u_9311' }
breadcrumbs  http  POST /checkout

What an OpenTelemetry backend does with it

OpenTelemetry is an open source, vendor-neutral framework for generating, collecting and exporting telemetry. In its own words, “OpenTelemetry is not an observability backend itself”: the data goes, often through the Collector, to a backend you pick. Source: What is OpenTelemetry?, checked on 27 November 2026.

What happens to the exception then depends on that backend:

In every case, the backend only has what the span carried: no local variables, no breadcrumbs, a stack trace from the built code. And with head sampling, the span that held the exception may never have been exported.

These backends bill by volume. Grafana Cloud bills traces per GB ingested (pricing), Honeycomb counts each span as an event (usage), SigNoz bills traces per GB ingested (pricing), checked on 27 November 2026. Tracing every request to catch the ones that fail means paying for all the others too.

The OpenTelemetry conventions for exceptions on spans are now deprecated in favor of exceptions in logs, though span events stay the default of existing instrumentations. The exception remains a record among your telemetry rather than an issue to fix. Source: Exceptions on spans, checked on 27 November 2026.

Why Errilo for production errors

What Errilo doesn’t do: it doesn’t ingest OpenTelemetry data today, and it stores no traces or metrics. It receives errors from the Sentry SDKs.

To set it up: the Node.js guide, or migrate from Sentry if you already use the SDK.

When OpenTelemetry still has its place

If you need to follow a request across several services, measure latency or keep metrics, OpenTelemetry is the right tool, and it works with any backend. It doesn’t have to be one or the other: OpenTelemetry for traces and metrics, Errilo for errors, side by side in the same process.

The Sentry JavaScript SDK added OpenTelemetry dependencies in v8 and aligned its tracing API with it (v7 to v8 migration). Since v11, it no longer sets up an OpenTelemetry tracer provider by default for most SDKs, @sentry/node included, and no longer takes over your own OpenTelemetry setup (v10 to v11 migration, checked on 27 November 2026).

Errilo is not affiliated with Sentry, the OpenTelemetry project or the vendors named on this page. Sentry is a trademark of Functional Software, Inc. OpenTelemetry is a trademark of the Linux Foundation. Other names are trademarks of their owners.

Frequently asked questions

Is OpenTelemetry a replacement for Sentry?

No. OpenTelemetry collects and carries telemetry; it has no backend, no issues and no alerts of its own. An error tracker such as Sentry or Errilo is a backend built to fix errors, with the context that OpenTelemetry doesn’t send.

Can OpenTelemetry do error tracking?

It records exceptions, as an exception event on a span (or as a log record), with the type, the message and the stack trace as a string. Grouping them, alerting on new ones and showing the original source depend on the backend, and it can only use what the span carries. Source: Exceptions on spans.

Does Sentry support OpenTelemetry?

Yes, in two ways. The JavaScript SDK can capture spans from the OpenTelemetry APIs or connect to your own pipeline (OpenTelemetry support). And Sentry can ingest OTLP traces and logs, not metrics (OTLP); on its OTLP traces endpoint, span events are dropped, so exceptions recorded as span events don’t arrive that way (Known limitations, checked on 27 November 2026).

Can I use OpenTelemetry and the Sentry SDK in the same Node.js app?

Yes. Since v11, @sentry/node no longer sets up an OpenTelemetry tracer provider by default and leaves your OpenTelemetry setup alone (v10 to v11 migration). OpenTelemetry keeps your traces, the Sentry SDK sends your errors to Errilo.

Does Errilo accept OpenTelemetry data?

No, not today. Errilo receives errors from the Sentry SDKs. If you use OpenTelemetry, keep it for traces and metrics, and add the Sentry SDK with an Errilo DSN for errors.

Is OpenTelemetry free?

The project is open source and free. Storing and querying the data is not: you run a backend yourself or pay a vendor, usually by volume. Source: What is OpenTelemetry?.

Early access

The private beta is open, by invitation, to a handful of teams running a JavaScript, TypeScript, PHP or Python app in production. Join the waitlist and we’ll write to invite you.