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.
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
| OpenTelemetry and a backend | Errilo | |
|---|---|---|
| Built for | Traces, metrics and logs across your services | Production errors, until they are fixed |
| Setup | SDK, instrumentation, exporter, often a Collector, and a backend to run or pay for | The Sentry SDK and a DSN |
| What an exception carries | Type, message, stack trace as text | Frames with the surrounding code, local variables, breadcrumbs, release, environment, user, request |
| Grouping into issues | Depends on the backend: some group exceptions, others show them inside traces | Built in, by fingerprint |
| New issues and regressions | Depends on the backend | An alert for every new issue and every regression in a newer release |
| Bundled or compiled code | Lines of the built file | Source maps uploaded at build time, frames shown in your source |
| Coding agents | Depends on the backend | MCP server in every plan, the free one too; auto-fix with your own agent |
| Pricing | Usually by volume: GB ingested, events or spans | A fixed price per plan, unlimited users, no overage billing |
| Traces and metrics | Yes, that is its job | No: 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:
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.
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:
import * as Sentry from '@sentry/node';
Sentry.init({
dsn: process.env.SENTRY_DSN, // https://<key>@ingest.errilo.com/<project>
release: '[email protected]',
includeLocalVariables: true,
});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- The cause is on screen:
orderhas anidand atotal, nocustomer. With the span event, you know which property failed, not what the object held. - Local variables come from the SDK’s debugger, for your own frames only. Source: LocalVariables, checked on 27 November 2026.
- Release, environment, user and breadcrumbs travel with the error: Errilo knows the release it happened in and how many users it reaches.
- In a bundled or compiled service, Errilo applies the source maps you upload at build time and shows the TypeScript line; the span event keeps the line of the built file.
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:
- SigNoz builds an Exceptions view from span events and groups them by service, exception type and message. Source: SigNoz, Exceptions, checked on 27 November 2026.
- Datadog Error Tracking groups error spans into issues, with a fingerprint made of the error type, the message and the stack frames. Source: Datadog, Error Tracking for backend services, checked on 27 November 2026.
- Honeycomb shows span events in the trace sidebar, next to the span that carries them. Source: Honeycomb, Explore traces, checked on 27 November 2026.
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
- One SDK, one DSN: Errilo works with the Sentry SDKs for Node.js and TypeScript, React, Next.js, Nuxt, SvelteKit, PHP (Laravel, Symfony) and Python (Django, FastAPI, Flask). If you already use Sentry, you change the DSN, nothing else.
- Issues, not events: thousands of occurrences become one issue, with the code, the variables, the release and the affected users. Errilo alerts you on every new issue, and again when a fixed error comes back in a newer release.
- Your agent reads the error: the MCP server is included in every plan, the free one too. Claude Code, Cursor, VS Code or an agent in CI gets the issue, the stack trace and the context. See Agents and MCP.
- Your agent opens the fix: a GitHub Action starts your own agent on a new error; it reproduces it, fixes it and opens a pull request. Errilo bills no AI credits. See auto-fix with Claude Code and the Sentry Seer alternative.
- A price that doesn’t follow your traffic: a fixed price per plan with unlimited users and no overage billing.
- In Europe: hosted in France by IOfate, an independent French company.
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?.