SDK configuration (backend)
Frontend equivalents are passed directly to
initAutterBrowser({...}) rather than read from process.env (bundlers don’t expose server env vars to the browser by default) — for example import.meta.env.VITE_GIT_SHA for release.
Endpoint regression SDK options
These are JavaScript options forinitAutterServer and Next.js registerAutter, not additional environment variables.
release: set this to the deployed commit SHA.GIT_SHAis a convention that your build must supply.environment: use the actual deployment environment and keep its name stable.retainTracesAboveMs: a positive duration in milliseconds opts into bounded retention of slow successful server traces in the local process. Use2000as a starting example, not a universal threshold. Zero or omission leaves this retention off. Check export volume after enabling it.instrumentations: add required database or dependency instrumentation to the existing initialization. Do not create a second SDK.
retainTracesAboveMs environment variable. See Endpoint regressions for limits and external OTel requirements.
Operation logging options
After checking installed and deployed support, pass these options to the existinginitAutterServer or Node-only Next.js
registerAutter call. They are JavaScript options, not environment variables:
Use the same
AUTTER_RUNTIME_KEY, service, environment, release and ingester
endpoint as tracing. Browser/client keys cannot send server logs. Other
language exporters may support OTEL_EXPORTER_OTLP_LOGS_ENDPOINT,
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL and OTEL_EXPORTER_OTLP_LOGS_HEADERS; these
variables alone do not create a logs provider or bridge. See OTLP loggers.
Ingester configuration (self-hosted)
Operation logging requires an ingester release containing/v1/logs and
migration 0011-runtime-logs. Deploy it before upgrading logging SDKs; the
platform readers and analysis/fix consumers need their matching deployment.
No new ingest credential is required: use the existing repository server key.
AUTTER_INGEST_KEYS
A JSON array, one entry per key:
- Server keys (
autter_rt_…) have noscopefield and can send OTLP traces/metrics/logs plus relay browser events. - Client keys (
autter_rtc_…) need"scope": "client"and anallowedOriginslist — the ingester rejects/v1/browserrequests whoseOriginisn’t on the list. - One key pair per app or repository —
repositoryIdis how data is grouped for analysis.
packages/otlp-ingester.
Self-hosting
Run the ingester locally, on a single server, or on AWS.

