Authentication
Configure API keys and environment variables safely
All Obtrace SDKs authenticate through API keys at ingest.
Required variables
OBTRACE_API_KEYOBTRACE_TENANT_IDOBTRACE_PROJECT_ID
Recommended additional identity fields:
OBTRACE_ENVOBTRACE_SERVICE_VERSION- language/runtime specific
app_idandservice_name
Identity rule:
app_idandservice_namemust match the connected app in the project.- If you need a runtime-specific name such as
web, configure it as an explicit alias of the canonical app, such ascore. - Values outside the canonical app name and configured aliases are treated as invalid scope.
The ingest core accepts SDK traffic on:
POST /otlp/v1/logsPOST /otlp/v1/tracesPOST /otlp/v1/metrics
Minimum security rules
- Never expose server keys in client bundles.
- Separate keys by environment and service.
- Store keys only in a secret manager.
- Validate ingestion after every key rotation.
Misconfiguration signals
401/403during telemetry submission.- Partial telemetry across services.
- Data reaching the wrong tenant/project.