Skip to main content
Services that already export OpenTelemetry can send to Autter Runtime through an OpenTelemetry Collector you run. You do not need an Autter SDK or a direct OTLP export. The collector holds the ingest key, keeps every error, samples the rest, drops request headers and query strings, and exports OTLP/HTTP to the ingester. The same config is shown in the Runtime setup guide under Connect your services → Set up manually → OTel Collector. To send the same telemetry to another vendor as well, see the migration guides for Datadog, New Relic and Dynatrace. This page is written against ingester 1.8.0 (@autter/runtime-node and @autter/runtime-next 1.7.0). One request is one count. Errors never add requests. The ingester counts what it rejects or drops, per repository. See Compatibility for versions.

The config

Save it as otel-collector.yaml next to the collector. It needs otelcol-contrib. The span_metrics connector and the tail_sampling, filter, transform and resource processors are not in the core build. The config is written for otelcol-contrib 0.161.0 and uses that release’s component names. These are span_metrics and otlp_http (formerly spanmetrics and otlphttp, which 0.161.0 still loads as deprecated names) and the filter processor’s trace_conditions and metric_conditions (the traces.span and metrics.metric keys are deprecated). A collector older than these names rejects the file. Keep the config you have on an older collector, or upgrade the collector and the config together.
Set AUTTER_RUNTIME_KEY to a server ingest key (autter_rt_…) of the repository the telemetry belongs to. If you self-host the ingester, replace https://otlp.autter.dev with its URL. Run the collector:
Check the file against the collector’s own config schema before you deploy it:

Point your services at the collector

The key stays in the collector. Each service only needs the collector’s address:
Add deployment.commit=${GIT_SHA} so Autter can link errors to the commit. See Link errors to code.

What each part does

What to set, and what never to set

The Autter SDKs never sample errors away. They use an always-on tracer, and the trace around an error is kept. Spans exported that way carry autter.tail_retained. The ingester leaves them out of the span-fed request rollup because the SDK’s request metrics already counted them. A collector gets the same result this way:
  • Apps do not sample. Use OTEL_TRACES_SAMPLER=parentbased_always_on. An error on a trace the app dropped never reaches the collector.
  • Keep span_metrics/autter and transform/autter-tail-retained together. The ingester counts one request for each request (its outermost server span) that does not carry autter.tail_retained. It never scales a sampled span back up. With both parts, requests are counted from every server span (the histogram) and not again from the sampled ones. If you drop the request-count pipeline, drop the tail-retained step too. Otherwise healthy requests are counted nowhere and the service shows errors with no requests. With neither, request counts follow the sample: about 10% of healthy requests and every failing one.
  • Never set autter.metrics_wired. @autter/runtime-node sets this resource attribute because its delta request metrics count every request it serves. Ingester 1.8.0 honors it: a kept request from such a resource is left to the metric feed. If a collector set it, a failure the histogram does not see would be counted nowhere. That includes a request with no HTTP status, such as gRPC, and a service no histogram counts.
  • A kept server span adds no request, and a kept request that failed adds one error. span_metrics/autter already counts a 5xx response as a failed request. So a 5xx request is one request and two errors. An error recorded in a request that answered under 500 (a handled exception, a 4xx recorded as an error) is one request and one error. Each request counts once. When a framework nests a server span under the HTTP one, only the outermost counts. On ingester 1.7.0, every error on a kept server span added one request and one error.
  • One exporter and key per repository. The key, not the payload, picks the repository. To split one collector across repositories, give each its own otlp_http exporter and key and route by service.name.
  • Autter SDK services pass through untouched. Their spans are already sampled, so autter-sdks keeps them all. They are left out of span_metrics/autter, the histogram filter and the tail-retained step.
Without tail sampling, drop tail_sampling/autter, transform/autter-tail-retained, span_metrics/autter, its two pipelines and filter/autter-http-duration. Every server span is then counted once.

Ingester limits

The batch sizes in the config follow these limits. They are the ingester 1.8.0 defaults. The collector’s otlp_http exporter reads partial_success and logs a warning with the number of rejected spans, log records or data points and the ingester’s message. It does not retry them. Every rejection and drop is also counted per repository and shown under Source coverage.

How Autter recognizes collector-fed services

From ingester 1.8.0, the ingester records how telemetry arrived, as via:
  • collector: the request’s User-Agent is an OpenTelemetry Collector (any distribution, ADOT, Grafana Alloy, Fluent Bit or Vector), or the distro name is an otelcol build.
  • direct: an SDK exporter sent it.
  • relay: browser events forwarded with a server key.
The sender’s identity is its telemetry.distro.name and telemetry.distro.version. If those are missing, it is opentelemetry-<telemetry.sdk.language> with telemetry.sdk.version. The Source coverage panel (see below) shows each service as via OTel Collector, direct or browser relay. A service with an Autter SDK keeps its own name behind a collector, and compatibility warnings still apply to it. A collector receiver with no SDK identity at all, such as Prometheus or file logs, still shows as via OTel Collector. On an older ingester, the panel falls back to the distro name. resource/autter inserts telemetry.distro.name: otelcol-contrib when the sender set none, so those services show as via OTel Collector. A service on a plain OpenTelemetry SDK sent without this processor shows as OpenTelemetry SDK (language). A receiver with no SDK identity shows as Not reported.

Source coverage

The Source coverage panel is under Repository → Settings → Runtime. It lists every source of the repository with a health state, a one-line reason and a fix:
  • SDK services and collector or OpenTelemetry senders. The sender, version, how the telemetry arrives, the last event, requests and errors in 24 hours, and compatibility warnings for outdated Autter SDKs.
  • Connectors (Sentry, PostHog, Datadog, Grafana, Vercel, Cloudflare, webhooks). Status, last error, poll lag, last record, and records accepted and dropped by scope in 24 hours, with the service or environment that was dropped.
  • Source maps. The last upload, and how many in-app browser frames stay unresolved in 7 days. Over 30% means you should upload source maps. See Source maps.
  • Ingester. Version, schema level, when it last reported, and the active key prefixes.
  • Rejected and dropped (ingester 1.8.0). What the ingester refused or did not store for the repository in 24 hours, by route and reason, with what each reason means and its fix. It also lists keys of the repository (revoked ones included) that the ingester refused. Keys are shown by display prefix only.
The rejected-and-dropped row has one of three health states: On an ingester older than 1.8.0, or one without ClickHouse, the row is left out and the ingester row says why the counts are not available.