OpenTelemetry eBPF Instrumentation (OBI)

OpenTelemetry eBPF Instrumentation (OBI) captures traces and RED metrics from Linux services without code changes. This page covers supported languages, protocols, TLS capture, kernel needs and when SDKs are still required.

On this page

How OpenTelemetry eBPF Instrumentation (OBI) gets traces without code changes

Many teams need distributed traces and RED metrics (request rate, errors and duration) from services that cannot be changed quickly, such as vendor binaries, legacy applications under a freeze, or services owned by another team. OpenTelemetry eBPF Instrumentation (OBI) addresses that situation by inspecting application executables and the operating system networking layer to capture trace spans, RED metrics and runtime metrics for Linux workloads, with no code or configuration changes in the service itself. Teams should consider it first when the goal is visibility into request flow and error rates across many services, and when a rebuild or redeploy of each service is the main obstacle.

OBI is one OpenTelemetry component that produces telemetry. It is not an observability backend, so the spans and metrics it generates still need a Collector pipeline and a storage and visualization tool. Plan the Collector route and the backend before rollout, and confirm with your own environment which services run on the Linux hosts or nodes where OBI can attach, since the kernel and privilege requirements are covered in the sections that follow. The OpenTelemetry eBPF Instrumentation documentation lists the current language and protocol support, which should be checked against your service inventory before you commit to the approach.

OBI does not replace SDK instrumentation in every case. Automatic capture sees what happens at the process and network boundary, so business attributes, custom spans, and context that exists only inside application code usually still need an SDK or a language agent. The practical decision is per service: use OBI where code changes are blocked or slow, and keep SDK instrumentation where teams need rich, application-specific detail. Record that split in your telemetry plan so dashboards and alerts do not assume a level of detail that only some services provide.

Which languages and protocols OBI covers today

OBI's coverage is defined by runtime, protocol and database lists, and each entry has version boundaries that matter in production. The cards below group what OBI documents today so you can check your service inventory against it before planning a rollout.

Language runtimes

OBI documents support for Java (JDK 8 and later), .NET, Go, Python, Ruby, Node.js, C, C++ and Rust. Build a list of every runtime your Linux services use, including the exact Java distribution and major version, because support is stated per runtime rather than per company. Services in runtimes missing from the list still need SDK instrumentation or another approach.

OBI docs

HTTP and HTTP/2 traffic

OBI covers HTTP/S and HTTP/2 traffic, which is where most RED metrics and request spans come from for web and API services. Confirm that your ingress, sidecars and load balancers do not hide the spans you need, and check how requests that cross proxies are attributed to services. Verify the protocol version each service actually negotiates in production.

gRPC services

OBI lists gRPC among its supported protocols, so internal service-to-service calls can produce spans without changes to stub or server code. Check the gRPC framework versions and whether your services use streaming calls, since span boundaries for long-lived streams can differ from unary calls. Test one representative service in staging before assuming full coverage.

Messaging protocols

OBI documents Kafka, NATS and MQTT support. For messaging, trace continuity depends on what the broker client propagates, so confirm whether producer and consumer spans link across the broker in your setup. Check client library versions against the docs, since messaging coverage is often narrower than HTTP coverage.

Database clients and servers

OBI covers PostgreSQL, MySQL, MSSQL and Redis, observed from both client and server sides. Decide which side you need for each database: client-side spans show what callers wait for, while server-side visibility helps with database-level diagnosis. Confirm the database versions and authentication modes you run, because capture depends on the wire protocol in use.

Coverage checks before rollout

Coverage in OBI is a moving target, so record the OBI version, kernel and runtime versions you test against, and rerun the check after upgrades. Ask your OBI contact or review the docs for the exact combination you plan to deploy. Treat any protocol or runtime you cannot confirm as a gap that needs SDK instrumentation or a documented exception.

Configuration options and when each fits

This table compares three ways to collect telemetry from a Linux service: OBI alone, OBI alongside SDK instrumentation, and SDK-only instrumentation. Read each row to see what the option captures, what it leaves out, and what it adds to the host. The main takeaway is that OBI covers the request and protocol layer without code changes, while business context and custom spans still require the application to be instrumented.

OptionWhat it capturesWhat it missesHost footprint
OBI aloneTrace spans, RED metrics and runtime metrics for supported languages and protocols, observed from the executable and OS networking layerCustom spans, business attributes and context inside application logic, so spans show requests but not why a code path ranOne eBPF-based agent on the Linux host, with no changes to application images or startup commands
OBI alongside SDK instrumentationEverything OBI captures plus spans and attributes the SDK adds inside code, linked into the same tracesLittle for supported services, but requires confirming that OBI and SDK spans join correctly for each language and framework in useThe OBI agent plus the SDK library in each service, so both need configuration, versioning and upgrades
SDK-only instrumentationSpans, metrics and logs defined by developers, including custom attributes and in-code contextTelemetry from services that cannot be changed, and from protocols or runtimes without SDK coverage in the team's stackLibrary added to each service and redeployed with it, with no separate host agent required
Unsupported languages or protocolsDepends on what the SDK or other instrumentation providesConfirm current OBI language and protocol coverage in the OBI documentation before planning around itChoose the path that matches the gap, usually SDK work for the affected services
Encrypted trafficConfirm with the OBI documentation whether TLS capture applies to your libraries and versionsTraffic that cannot be read at the capture point, so verify before relying on payload-level visibilityNeeds testing in a staging environment that matches production TLS libraries

What OBI can and cannot see in TLS traffic

OBI builds spans from what it can observe at the process and kernel networking layer, so the first thing to verify is where the plaintext of a TLS connection is actually readable. Encryption happens inside the application's TLS library, and OBI's ability to see request details depends on whether it can read data at a point after decryption on the send or receive path and before it leaves the process. If the traffic is only visible as ciphertext on the wire, the span may still show that a connection happened, but the HTTP method, route, status and gRPC method names will be missing or incomplete. Treat "we see HTTPS" and "we see request attributes inside HTTPS" as two separate claims and test them separately.

The OBI documentation lists the protocols and languages it supports, but it is the right place to confirm which TLS libraries and runtime versions are covered for each language on your stack. Do not assume that a library working in one Java or Go service works in another that links a different TLS implementation, statically compiled binary, or a bundled runtime. Build a short test matrix from your real services: one request per protocol, each with a known method, path and status, then compare the spans OBI produces with what the application logs. Record the library name, runtime version and OBI version used, because those are the variables that change when a service is redeployed.

Certificate handling sits beside capture rather than inside it, so ask your platform and security teams to confirm three things before rollout. First, whether any service pins certificates or uses mutual TLS with keys held in a hardware module or a separate process that OBI cannot reach. Second, whether private keys or session material ever need to be exposed to the observability pipeline, and if they do, who approves that access and how it is audited. Third, what the data looks like if a request body or header carrying a token passes through a captured path. Plan redaction in the Collector for any attribute that may carry credentials or personal data, and keep the trace data classification with the team that owns the service.

How to roll out OBI on Linux hosts step by step

This sequence moves OBI from a single test host to production by confirming prerequisites first, then adding one layer at a time so each stage has a clear check before the next begins. The result is a verified path from raw kernel capability to spans and RED metrics for every service on the hosts you own.

  1. Confirm kernel and privilege requirements on a test host

    The platform or Linux team picks one representative host that runs the services you care about, then checks its kernel version, kernel features, container runtime and the privileges the OBI agent needs to attach to processes and network interfaces. Confirm the exact minimum kernel version, required capabilities and any security module settings in the OBI documentation for the release you plan to deploy, and record them in your change record. Done means the host meets every listed requirement, and any gaps (for example, a locked-down kernel or a restrictive container security profile) have a named owner and a fix plan.

  2. Deploy OBI on the test host

    Install the OBI agent on the test host using the method your team standardizes on, such as a package or a container image, and point it at a local OpenTelemetry Collector rather than a backend directly. Keep the initial configuration minimal and confirm that the agent starts without errors in its logs and stays running after a restart. Done means the agent reports a healthy state and no attach errors appear for the processes you expect it to observe.

  3. Run the Collector as the single export point

    Configure a Collector on the host or nearby as an agent that receives OBI output and forwards it to your chosen backend. Bind receivers to the addresses you intend, and use the Collector's debug exporter or logging output during this stage so you can see the spans and metrics it receives before any backend is involved. Done means the Collector logs show incoming trace and metric data from OBI with no dropped batches or export errors.

  4. Route data to the chosen backend

    Add an exporter for your metrics, traces and backend of choice, and confirm the credentials, endpoints and TLS settings with the team that runs that backend. Check whether your backend expects specific resource attributes or service naming from OBI, and adjust the Collector processors if needed. Done means the backend receives data from the test host, and you can query it by service name.

  5. Verify spans and RED metrics for each service

    For each service running on the test host, send a known request through its endpoints, then search the backend for the matching trace spans and the Rate, Errors and Duration metrics that OBI derives. Compare the observed protocol and operation names against what the service actually handles, and confirm that errors show up when you trigger a failed request. Done means every service you selected has spans and RED metrics with the expected names, and any service that is missing data has a documented reason, such as an unsupported language or protocol, or a process OBI cannot attach to.

  6. Expand to production hosts in controlled waves

    Reuse the tested configuration and the verified checklist to deploy OBI to production hosts in small groups, starting with hosts that run the lowest-risk services. Track agent health, Collector queue and export behavior, and resource use on each group before adding the next, and keep the rollback step (stopping the agent and removing the Collector pipeline) documented and rehearsed. Done means each production group shows stable agent health and complete RED data for its services, and the rollout record lists the kernel and permission settings for every host.

How OBI data flows from Linux services to the Collector and backend

The flow starts in the application processes on each Linux host, which OBI observes from outside the code by inspecting the executables and the OS networking layer. OBI turns that observation into trace spans and RED metrics and exports them to an OpenTelemetry Collector, which can run as an agent beside the services or as a gateway shared by many hosts. The Collector then forwards the data to a self-hosted or managed backend. The trust boundary sits at the host edge: everything on the host is privileged, so check what leaves the host and how the export connection is encrypted and authenticated.

OBI observes services on each host and exports through the Collector to a backend.

Kernel and host requirements to confirm before a pilot

OBI runs inside the Linux kernel and the host's networking layer, so the pilot succeeds or fails on the host, not the application. Confirm the kernel baseline, privileges, container settings and resource headroom on the exact nodes where OBI will run before anyone schedules a workload.

Linux kernel and eBPF features

OBI depends on eBPF capabilities in the running kernel, so the minimum kernel version and the specific eBPF features it needs are the first gate. Take the kernel baseline from the OBI docs, then compare it with the kernel on every node class in the pilot, including older images and hardened distributions where kernels are often patched or customized. A node that passes on one image can fail on another, so check each one.

OBI docs

Required capabilities and privileges

OBI loads programs and reads process and network state, which needs Linux capabilities or a privileged execution context. Ask the OBI docs which capabilities the agent requires, then decide whether your security baseline allows them on the pilot nodes. Record the exception, its owner and its review date, because security teams will ask for it during approval.

Container runtime and security context

When OBI runs as a container or DaemonSet, the container runtime, host PID and network namespace access, and the Kubernetes security context determine whether it can see target processes. Confirm which settings the OBI deployment needs and whether your admission policies or Pod Security standards block them. Test the exact manifest in a non-production cluster first.

Host resource overhead

OBI observes traffic and process activity on every instrumented host, so CPU, memory and kernel overhead scale with traffic volume and the number of processes observed. Measure a representative node under realistic load before the pilot, and set resource requests and limits that match the measurement. Ask the vendor or the OBI docs for published overhead guidance rather than assuming it is negligible.

Telemetry path and exporter access

OBI sends spans and metrics through the Collector or an OTLP endpoint, so node egress rules, certificates and the Collector's listening address all matter. Confirm which endpoint OBI exports to, that the network path is open from each node, and that the Collector is configured to accept the connection securely. Review the OpenTelemetry Collector configuration guidance on bind addresses and authentication before opening ports.

When SDK instrumentation is still needed alongside OBI

OBI gives you spans and RED metrics for supported services without code changes, but it sees only what the kernel and the protocol layer expose. Keep SDK instrumentation for the places where the business meaning lives inside application logic: custom spans around a pricing calculation, attributes such as tenant, order or plan identifiers, and events that only the application knows happened. Those attributes are what turn a slow request into an answerable question for a product team. Before you commit, list the spans and attributes your on-call engineers and service owners actually query, then check which of them OBI can derive on its own and which need code.

Context propagation is the other case where code still matters. OBI follows requests across the network boundaries it can observe, but work that hops between threads, in-process queues, background jobs or custom message handling can break the trace unless the application passes the context along. The W3C TraceContext propagator is the usual default, and the sibling topic on context propagation covers where that breaks. Your decision here is practical: map each asynchronous path in the services you own, test whether a single trace survives it under OBI, and add SDK calls only where the trace splits. Confirm the exact protocols and languages covered in the OBI documentation for each service before you assume a path is handled.

Logs and log correlation remain an SDK and Collector concern. OBI is scoped to traces and RED and runtime metrics, so application logs that carry trace identifiers need an SDK or logging bridge in the service. Check the log SDK maturity for each language in your estate, since the OpenTelemetry status page shows that trace APIs and SDKs are stable in most languages while log SDK maturity varies, with several languages still in development. Trace APIs and SDKs are stable in most languages, so the risk is mainly in logs. Also confirm whether any signal, platform or runtime in your environment, including non-Linux hosts, is outside what OBI supports today, because those workloads will need the standard SDK path.

Limits to confirm in your environment before you commit

OBI can capture traces and RED metrics without code changes, but its coverage depends on your language versions, protocols, kernel and the Collector components you deploy. Work through these checks against your own workloads before you commit to a rollout plan or a partner scope.

Language and protocol coverage

OBI lists support for Java (JDK 8+), .NET, Go, Python, Ruby, Node.js, C, C++ and Rust, plus HTTP/S, HTTP/2, gRPC, Kafka, NATS and MQTT. Match each service's exact runtime version and protocol against that list, and note which services use a protocol or framework outside it. Anything not listed needs SDK instrumentation or a manual trace plan.

OBI docs

OBI release maturity

Confirm the OBI release you would deploy, its documented stability for each signal and language, and the upgrade cadence your team can support. Ask the project which features are marked experimental, since trace and metric behavior can change between releases. Record the version you test so that production results can be reproduced later.

Kernel and distribution support

OBI works through kernel-level hooks, so kernel version, distribution, container runtime and privilege settings on each node decide what it can attach to. Check these on the exact node images you run, including managed Kubernetes node pools, because hardened images may restrict the capabilities OBI needs. Ask your platform team who approves those privileges.

TLS and encryption coverage

Capturing traffic that is encrypted in transit depends on how each service handles TLS, which libraries it uses and whether it runs in a container. Test a representative HTTPS and gRPC service and confirm that the spans and metrics you expect actually appear. Do not assume encrypted traffic is covered for every service. Review what payload data is stored, since spans can carry request attributes that your data classification may restrict.

Overhead on your workloads

Measure CPU, memory and latency on your own services with OBI enabled, comparing against a baseline run with it disabled. Overhead varies with request rate, payload size and the number of instrumented processes, so a lab benchmark with synthetic traffic will not predict production behavior. Set acceptance thresholds in writing before the test begins.

Collector component stability

Pipelines built around OBI depend on Collector receivers, processors and exporters, and each has its own stability level documented in its README. Check the stability of every component in your pipeline, pin the Collector version you test, and confirm that any experimental component has a fallback. The OpenTelemetry status page lists how stability is reported across the project.

OpenTelemetry status

Questions buyers ask before using OBI

Can OBI replace SDK instrumentation entirely?

Not always. OBI can capture trace spans and RED metrics for supported Linux workloads without code or configuration changes, which covers many services quickly. It does not replace SDK instrumentation where you need custom spans around business logic, specific attributes, or signals and runtime details that OBI does not surface for a given language. Treat OBI as the fast baseline across services, then add SDK work only for the gaps your dashboards and alerts actually need. Confirm the supported language and protocol matrix against the OBI documentation for each service before you plan the split.

What does a pilot need from the platform team?

A pilot needs a small set of Linux hosts that run services you already understand, a privileged deployment path that your security team has approved, and a place to send telemetry. In practice that means agreed host access, the ability to run the agent with the kernel capabilities it needs, network paths from the hosts to a Collector, and a backend where traces and RED metrics can be inspected. Ask the platform team to confirm kernel versions, container runtime details and whether the hosts run in environments where eBPF programs are allowed. Write the list of hosts, services and success checks into the pilot scope before work starts.

What drives the effort and cost of an OBI rollout?

The main drivers are the number of hosts, the kernel baseline across them, the mix of languages and protocols, whether TLS traffic must be captured, and how the Collector and backend are designed. Each host adds deployment, upgrade and monitoring work. Mixed kernels can mean more validation. Each additional language or protocol needs checking against the support matrix. TLS capture needs its own security review, and Collector sizing depends on telemetry volume. Costs split into your infrastructure and tooling, internal staff time, and any partner fees. Ask any quote to break these drivers out so you can see which ones move the total.

Can our team run OBI without an outside partner?

Yes, if your team has Linux operations experience, can work with Kubernetes or systemd deployments, and has someone comfortable with kernel requirements and eBPF-based tooling. Many teams start alone for a single cluster and find the hard parts are kernel baselines, privilege reviews and Collector pipeline design. An outside partner can help with the pilot scope, the security review of TLS capture, the Collector design and the handover documentation. DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, so the choice is between your own time and a fixed-scope engagement agreed in writing.

How long does an OBI pilot take?

Duration depends on scope, so it should be agreed in writing rather than assumed. The main variables are the number of services and hosts in the pilot, whether the kernels and access approvals are already in place, whether TLS capture is in scope, and how much backend work is needed to view the data. A pilot limited to a few services on hosts with known kernels is much shorter than one that spans heterogeneous fleets and requires security sign-off. Ask any proposal to state the assumed host count, languages, protocols, approvals and exit criteria, and to name what the platform team must provide.

How does TLS traffic capture change the security review?

TLS capture is the part of OBI that most often changes the review, because it brings decrypted request data into a place where you must control access and retention. Before enabling it, agree which services, which attributes and which hosts are in scope, and confirm that sensitive values are removed. The Collector security guidance recommends encrypting and authenticating Collector endpoints and using the redaction processor to remove sensitive attributes. Run the pilot against non-production data first, and have your security team review privileges, data flow and retention before it goes near regulated workloads.

How does OBI fit with the OpenTelemetry Operator on Kubernetes?

OBI and the Operator solve related but separate problems. OBI inspects Linux workloads and the networking layer on hosts to produce spans and RED metrics without code changes. The Operator manages Collector custom resources and can also provide opt-in auto-instrumentation for several languages on Kubernetes. Decide early which one owns each workload so the same service does not produce duplicate spans. On Kubernetes, check the kernel and privilege requirements for OBI on your node pools, then plan how the Collector deployed by the Operator receives the data. Confirm the exact deployment path for your cluster version with the OBI documentation before committing.

What should the Collector and backend design look like for OBI data?

Plan the Collector as a pipeline, not an afterthought. Decide whether hosts send directly to a gateway Collector or through agents, how many gateways you need, where processing such as redaction and batching happens, and how buffering works if the backend slows down. Choose a backend that can store traces and RED metrics at the volume you expect and that your teams can query. Use the Collector builder to include only needed components, and verify that the Collector configuration is stored securely. Ask for a written data flow diagram and sizing assumptions as part of any design deliverable.

How DeployOpen scopes and delivers OBI rollouts

An OBI rollout starts with a written, fixed scope that names the hosts, the services in each host group, the languages and protocols those services use, and the TLS situation on each path. Scope is where most of the risk sits. OBI works by inspecting application executables and the operating system networking layer, so the first question is which Linux hosts it will run on, which of the listed languages (Java, .NET, Go, Python, Ruby, Node.js, C, C++ and Rust) and protocols (HTTP/S, HTTP/2, gRPC, Kafka, NATS, MQTT and the supported database clients and servers) appear in each service, and which services carry traffic that is encrypted in ways OBI must handle. DeployOpen puts each of these into a host and service inventory before any installation, so that unsupported or unclear workloads are listed as exclusions or open questions instead of being discovered during rollout. Confirm the current support matrix in the OBI documentation against your own inventory, because support and kernel requirements change between releases.

The rest of the scope covers the parts that surround the agent. Collector and backend design determines where OBI data lands, how it is batched and secured, and which dashboards and RED metric views teams will use. Security review covers who can read captured span data, how the Collector endpoints are authenticated and bound to the network, and what sensitive attributes must be removed before export. Handover covers runbooks for installation, upgrades, rollback on each host group, and the criteria for deciding when a service still needs SDK instrumentation. Ask any partner for these items in the written scope, along with acceptance tests and the named deliverables for each.

Delivery follows the agreed scope in stages, and retainer support is optional after handover. A retainer can cover OBI and Collector upgrades on your release schedule, repeat of the security review when new services or protocols are added, and continuous testing of the pipeline. Ask for the quote to separate one-time work (inventory, design, initial rollout, review and handover) from recurring work (upgrades, testing, support), and to state which party holds each host, cloud account and credential. Costs rise with the number of host groups, the share of encrypted traffic that needs a specific capture approach, and the number of services that stay on SDK instrumentation. DeployOpen does not publish a price list, so the written scope is the basis for any figure you receive.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.