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.
Ingester configuration (self-hosted)
AUTTER_INGEST_KEYS
A JSON array, one entry per key:
- Server keys (
autter_rt_…) have noscopefield and can send OTLP traces/metrics 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.

