โ† All posts
GUIDE September 27, 2026 ยท 3 min read

Any language, no SDK: OpenTelemetry straight into Sentrinel

SR
Sentrinel Team
Product & engineering

Sentrinel has SDKs for Node, Bun, Python, Dart and the browser. Your stack probably has something else in it too: a Go service, a Rust worker, a Java monolith nobody wants to touch. You do not need an SDK for those. If it can export OpenTelemetry, it can send to Sentrinel.

OTEL_EXPORTER_OTLP_ENDPOINT=https://api.sentrinel.dev
OTEL_EXPORTER_OTLP_PROTOCOL=http/json
OTEL_EXPORTER_OTLP_HEADERS=x-api-key=<your OpenTelemetry key>

Those three environment variables are the whole setup for any OpenTelemetry SDK, in any language, or for an OpenTelemetry Collector sitting in front of several services. Traces arrive at POST /v1/traces and render in the same waterfall as everything else.

A key that can only do one thing

Generate the key under API Keys โ†’ Generate โ†’ OpenTelemetry exporter. It is accepted on the trace endpoint and nowhere else: it cannot read your data, cannot send logs or errors, cannot be used by an agent. Exporter configuration tends to end up in places keys should not โ€” a Helm values file, a CI variable with too many readers โ€” and a key that can only ever write traces is a small thing to lose.

Every service is a part of one project

An export can carry spans from several services โ€” a Collector usually does. In Sentrinel an app is the whole project and each service is a part of it, so the key decides the app and each span's service.name names its part. A Go checkout service and a Rust pricing worker exporting through one Collector appear as two parts of the same app, side by side in one waterfall, rather than as two unrelated apps you have to line up by hand.

Early on this worked the other way โ€” each service.name created an app of its own โ€” which is how one product ended up split into five dashboards. It is the reason keys exist per integration now.

One trace, across SDKs and exporters

Trace context is W3C traceparent everywhere, so mixed stacks just join up. A tap in the Flutter app carries a trace id to a Node gateway instrumented with the Sentrinel plugin, which calls a Go service exporting OpenTelemetry. That is one trace: the phone's span, the gateway's request and the Go service's database calls, nested in the order they happened.

LLM calls are priced

Spans that carry the OpenTelemetry GenAI conventions โ€” gen_ai.request.model and the gen_ai.usage.*_tokens counts โ€” are priced per call and appear on the LLM cost page, broken down by model, by the customer the call was made for, and by the endpoint that made it. Most LLM client instrumentation already emits these. If yours does, cost tracking is free; if you want spend per customer or per plan as well, custom counters answer that.

The limits, stated plainly

None of those are permanent decisions, and the first is the one most likely to change. Until then, an OpenTelemetry exporter is the fastest way to get a service Sentrinel has no SDK for into the same picture as the rest of your stack.