OpenTelemetry (OTel)
Send logs, metrics and traces from any OpenTelemetry exporter
An OpenTelemetry source gives you one hosted endpoint that accepts logs, metrics and traces over OTLP/HTTP. Point an OpenTelemetry Collector or an OpenTelemetry SDK at it and Dstl8 starts analyzing what arrives: log patterns and anomalies, metrics, traces and services, all from the same source.
Add an OpenTelemetry source
1. Open the Add Source dialog
From Sources, click Add Source and select OpenTelemetry (under Send data directly).
2. Configure the source
Give the source a unique Name. The two optional fields control how this source's logs are grouped into streams on the Sources page:
Stream type attribute (optional)
Logs from a Kubernetes deployment are grouped as Deployments, and everything else as Service logs.
Stream name attribute (optional)
Each stream is named after its service (service.name), or after its instance (service.instance.id) when it has no service name.
Type an OTel resource attribute into either field to group or name streams by that attribute instead. Setting either field replaces the default for this source, including the Kubernetes deployment grouping. For most setups, leave both empty and make sure your telemetry sets service.name.
For advanced mappings, expand Custom log statements and provide OTTL statements, one per line, that run in the resource context. When provided, they replace the attribute fields above. This is rarely needed.
3. Create
Click Create. Dstl8 shows the source's OTLP/HTTP Endpoint and Bearer Token. Copy both. You can see them again later from the source's actions menu (gear icon) → Connection Details.
OTLP/HTTP Endpoint
The base URL, for example https://<org_id>.app.dstl8.ai/src-<id>. Exporters send logs to /v1/logs, metrics to /v1/metrics and traces to /v1/traces under it.
Bearer Token
Send it on every request as the header Authorization: Bearer <token>.
Configure your exporter
OpenTelemetry Collector
With otlphttp the base URL is enough: the exporter adds /v1/logs, /v1/metrics and /v1/traces itself. Add the exporter to each pipeline you want in Dstl8, next to your existing exporters, so your current destination keeps receiving data.
OpenTelemetry SDK (environment variables)
Most OpenTelemetry SDKs read the standard environment variables, so you can send straight from your application without a Collector:
Use
OTEL_EXPORTER_OTLP_ENDPOINT(the base URL), not the per-signal variables such asOTEL_EXPORTER_OTLP_TRACES_ENDPOINT. A per-signal variable is used exactly as written, so it would need the full/v1/tracespath.The space after
Beareris written%20inOTEL_EXPORTER_OTLP_HEADERS.Set the protocol explicitly. Some SDKs default to gRPC, which this endpoint doesn't accept.
After creating
The source appears in the list as Listening for telemetry with no streams. Once your exporter starts sending, streams appear and the source turns Healthy. The source shows which signals it carries (logs, metrics, traces), so you can confirm each one is arriving.
Log streams follow the attributes above. Metrics and traces are organized by service: the source lists a Service row for each service.name it receives, and that row covers all of the service's signals. See Signals and Which workspace sees which metrics.
Assign streams to workspaces
Streams need to be assigned to a workspace to be visible there. Open the source's actions menu (gear icon), select Assign Streams, check the workspaces and streams you want, and click Save. For a source that sends more than one signal, you can also choose which signals each workspace gets.
See Assigning streams to workspaces for details.
Troubleshooting
Requests return 401
The Authorization header is missing, or holds a token from a different source. Copy the token again from Connection Details.
Requests return 404 or 400
Check the URL. The endpoint must include the /src-<id> part, and a per-signal endpoint must end in /v1/logs, /v1/metrics or /v1/traces.
Nothing arrives from an SDK
Check OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf. An SDK sending gRPC to this endpoint fails to export.
Logs arrive but metrics or traces don't
Add the exporter to the metrics and traces pipelines too, not only logs.
Services show up as unknown_service or under an unexpected name
Set service.name on the resource (or OTEL_SERVICE_NAME). Names must match exactly, so checkout and checkout-svc show as two services.
Tips
Set
service.nameon everything you send. It names your services and ties a service's logs, metrics and traces together.Set
deployment.environmenttoo, so you can tell environments apart when filtering.Add a separate source per environment rather than sharing one endpoint across staging and production, so streams and services don't collide, and assign each to its own workspace.
Treat the bearer token like a password. In containers, inject it from your secrets manager rather than baking it into an image or config file.
Last updated