OpenTelemetry backend

An open-source backend for your OpenTelemetry traces and logs

OpenTelemetry collects and exports telemetry, but it doesn't store or show it — you need a backend. ErrorLens accepts OTLP traces and logs directly and gives you trace views, performance dashboards, log search and alerts.

A trace from OpenTelemetry in ErrorLens with spans, errors and logs on one timeline

Point your exporter at ErrorLens

Every OpenTelemetry SDK reads the standard environment variables, so usually no code changes are needed:

export OTEL_EXPORTER_OTLP_ENDPOINT="https://errorlens.io"
export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer <dsn-public-key>"
export OTEL_SERVICE_NAME="checkout-api"
Collector
exporters:
  otlphttp/errorlens:
    endpoint: https://errorlens.io
    headers:
      Authorization: "Bearer <dsn-public-key>"
service:
  pipelines:
    traces: { exporters: [otlphttp/errorlens] }
    logs:   { exporters: [otlphttp/errorlens] }

What it supports

Metrics and OTLP/gRPC are not supported. Details: OpenTelemetry docs.

  • OTLP over HTTP, protobuf or JSON, optionally gzip-compressed
  • Traces at /v1/traces and logs at /v1/logs
  • Exceptions recorded on spans become ErrorLens issues with grouping and alerts
  • Logs linked to their trace; traces from OpenTelemetry and ErrorLens SDKs join into one

Why use it as your backend

  • Errors, traces and logs in one place instead of three tools
  • Runs on Postgres — no ClickHouse or Elasticsearch cluster to operate
  • Secrets scrubbed from span attributes and log bodies before storage
  • Open source and free to self-host, or hosted at errorlens.io

Frequently asked questions

Is OpenTelemetry a backend?

No. OpenTelemetry is a standard and set of SDKs for producing and exporting telemetry. A backend such as ErrorLens receives, stores and visualizes it.

Which languages can send data?

Any language with an OpenTelemetry SDK — Go, Java, .NET, Ruby, PHP, Rust and more — plus the OpenTelemetry Collector.

Do I need the Collector?

No. SDKs can export straight to ErrorLens. A Collector is useful for batching, filtering or fanning out to several backends.

Start tracking errors in minutes

Free hosted plan with 5,000 errors a month, or self-host with no limits. No credit card.