Adding OpenTelemetry tracing to a Go service often means installing an SDK, rebuilding the binary, and redeploying it. OpenTelemetry eBPF Instrumentation (OBI) avoids those application changes by attaching eBPF probes to supported Go libraries while the service runs. It captures HTTP and gRPC spans and request rate, errors, and duration (RED) metrics, then exports them over OTLP to an OpenTelemetry Collector.
This guide shows how to instrument a Go HTTP service using OBI and Docker, then verify the resulting traces and metrics in an OpenTelemetry Collector. It also covers Kubernetes deployment, tracing requests across Go services, troubleshooting missing telemetry, and sending existing OBI data to groundcover.
What Is OpenTelemetry eBPF Instrumentation (OBI)?
OpenTelemetry eBPF Instrumentation (OBI) is a zero-code instrumentation tool that collects traces and metrics from supported Linux applications without requiring an OpenTelemetry SDK. For Go services, it captures HTTP and gRPC requests as client and server spans and records rate, error, and duration (RED) metrics. OBI exports this telemetry over OTLP to an OpenTelemetry Collector or another compatible endpoint.
How OBI Instruments Go Applications
OBI discovers running Go processes and attaches eBPF user-space probes (uprobes) to supported library functions. These probes observe operations in libraries such as net/http and google.golang.org/grpc, capturing request timing, methods, routes, and response status codes. The separate OBI process converts the captured events into OpenTelemetry spans and metrics.
Unlike packet-level tracing, Go library instrumentation can observe supported HTTPS requests before the traffic is encrypted. It can also propagate trace context through outgoing request headers when the required kernel permissions and configuration are available.
Instrumentation depends on the libraries and versions included in the Go binary. OBI supports net/http from Go 1.17, golang.org/x/net/http2 from v0.12.0, and google.golang.org/grpc from v1.40. Other supported libraries include Gin, Gorilla Mux, database drivers, and messaging clients. Unsupported versions or missing symbols can prevent specific probes from attaching.
OBI vs. OpenTelemetry Go SDK Instrumentation
OBI captures supported application operations without modifying Go source code. The OpenTelemetry Go SDK lets you instrument internal operations that OBI cannot observe automatically, such as a pricing calculation or cart validation, and attach application-specific attributes and events.
The approaches are not mutually exclusive. OBI can also capture spans created through compatible OpenTelemetry Go Trace API integrations when the application has not registered its own SDK TracerProvider. When both instrumentation methods are present, configure collection carefully to avoid duplicate spans.
Prerequisites for Instrumenting Go Applications With OBI
Before instrumenting a Go service, make sure the host meets OBI’s Linux requirements:
- Operating system: Linux on an
amd64orarm64host. OBI supports kernel 5.8 or later, or a RHEL-family 4.18 kernel with the required eBPF backports. - Kernel features: BPF Type Format (BTF) information must be available.
- Go version: Go 1.17 or later for library-level instrumentation. Go 1.18 or later is required for Go library-level trace context propagation.
- Permissions: Root access or the Linux capabilities required to inspect processes and load eBPF programs.
Check the kernel version, architecture, and BTF availability:
The commands should report a supported kernel, x86_64 or aarch64, and an existing /sys/kernel/btf/vmlinux file. If BTF is unavailable, OBI cannot load its instrumentation programs.
OBI requires capabilities including CAP_BPF, CAP_PERFMON, CAP_SYS_PTRACE, CAP_DAC_READ_SEARCH, CAP_CHECKPOINT_RESTORE, and CAP_NET_RAW for application instrumentation. Go library-level trace context propagation additionally requires CAP_SYS_ADMIN on Linux 5.10 and later, along with a kernel that permits bpf_probe_write_user. The required capabilities depend on the enabled features.
For the Docker walkthrough, you’ll need Docker, curl, and Go installed if you’re building the sample application. The example runs OBI with --privileged to provide the required capabilities. The Kubernetes deployment requires access to a cluster that permits the necessary privileged workloads, along with kubectl and Helm. Both approaches need a reachable OpenTelemetry Collector to receive the exported traces and metrics.
How to Instrument a Go Application With OBI Using Docker
You can run OBI in a Docker container to instrument an existing Go service without installing an OpenTelemetry SDK or modifying the application code. OBI runs separately from the service, uses the host PID namespace to discover its process, and exports captured traces and metrics to an OpenTelemetry Collector over OTLP.
In this walkthrough, you’ll use a sample checkout HTTP service running on Linux, with OBI and the Collector running in Docker containers. You’ll generate HTTP traffic and verify that OBI captures the requests and that the Collector receives the resulting traces and RED metrics.
Step 1: Build and Run a Sample Go HTTP Service
Create a sample Go HTTP service with three endpoints: /ok returns HTTP 200, /slow introduces a delay, and /fail returns HTTP 500. Use these responses to verify request counts, errors, and latency.
Open a terminal on your Linux host and create the project:
Save the following application as main.go:
Build the binary without stripping symbols, which can limit the Go instrumentation features OBI can use:
Start the service:
You should see checkout listening on :8080. Leave this terminal open so the service keeps running.
Open a second terminal and check the endpoints:
The first two requests should return HTTP 200, while /fail returns HTTP 500. The application has no OpenTelemetry dependencies, and you won’t need to rebuild it to enable tracing.
Step 2: Configure an OpenTelemetry Collector
With checkout running, configure an OpenTelemetry Collector to receive its telemetry. Return to the checkout project directory in your second terminal.
The Collector will accept traces and metrics over OTLP/HTTP on port 4318 and print them to its logs. This lets you verify both signals without installing a separate tracing or metrics backend.
Create a file named otel-collector.yaml:
The receiver binds to 0.0.0.0 so OBI can reach it from another container. The debug exporter prints individual spans and metric data points, including their attributes.
Create a Docker network for the Collector and OBI:
Start the Collector:
Check that the Collector started successfully:
The container should be running without configuration errors. Port 4318 is available to OBI through the shared Docker network without publishing it on the host.
At this point, the Go service is running and the Collector is ready, but there is no instrumentation process collecting telemetry yet.
Step 3: Run OBI Against the Go Application
Open a third terminal to start OBI. It will discover the running checkout process through the host PID namespace, attach eBPF probes to its supported Go library functions, and export the resulting telemetry to the Collector.
Run:
The --pid=host option lets OBI inspect the Go process running outside Docker, while --privileged supplies the permissions needed to load and attach eBPF programs.
OTEL_EBPF_OPEN_PORT=8080 selects processes listening on port 8080. If multiple processes use that port in different network namespaces, replace -e OTEL_EBPF_OPEN_PORT=8080 with -e OTEL_EBPF_AUTO_TARGET_EXE='*/checkout' to target the Go binary directly. The trace printer displays captured requests locally, while OTEL_EXPORTER_OTLP_ENDPOINT sends traces and metrics to the Collector over OTLP/HTTP on port 4318.
The application_red metric feature collects request duration histograms without HTTP body-size metrics. Setting the export interval to 10 seconds makes those measurements available sooner.
Leave OBI running. You should see startup and process-discovery activity in its terminal. You haven’t changed the Go application’s source code or restarted it to enable instrumentation.
Step 4: Generate Traffic and Verify Traces and RED Metrics
OBI is now running, but it needs requests to capture. Keep the Go service and OBI terminals open, then use your second terminal to generate traffic.
Run:
This generates 60 requests, including 20 failures and 20 deliberately slow responses.
First, verify that OBI captures the requests.
Return to the OBI terminal or inspect its logs:
Because you enabled OTEL_EBPF_TRACE_PRINTER=text, the output should include entries for /ok, /slow, and /fail, showing their HTTP methods, response statuses, and durations.
You should see status codes of 200 and 500, with /slow requests taking roughly 300–700 milliseconds.
If the requests appear here, OBI is observing the Go application. You still need to confirm that it exported the telemetry successfully.
Next, verify that the Collector receives the traces.
In the second terminal, inspect the Collector logs:
Look for ResourceSpans entries containing HTTP server spans. Check the following fields:
These spans confirm that OBI captured the HTTP operations and exported them to the Collector.
Finally, verify the RED metrics.
In the same Collector logs, find ResourceMetrics entries containing http.server.request.duration.
This metric is a histogram measured in seconds. Its data points include request attributes such as http.request.method and http.response.status_code, along with Count, Sum, and bucket counts. The enclosing resource contains attributes such as service.name.
Use the histogram to verify all three RED signals:
OBI exports metrics every 10 seconds in this configuration. If traces appear before metrics, check the Collector logs again after the next export interval.
Once you see both ResourceSpans and ResourceMetrics, you’ve confirmed the complete pipeline: OBI instruments the running Go service, captures its HTTP activity, and exports traces and RED metrics to the OpenTelemetry Collector without application-level SDK instrumentation.
How to Deploy OBI on Kubernetes
On Kubernetes, you can deploy OBI as a DaemonSet to instrument Go applications across multiple nodes without modifying their code or adding an SDK. Each OBI pod accesses the processes on its node, collects traces and metrics from matching workloads, and exports them to an OpenTelemetry Collector. Kubernetes metadata also lets you identify which pods and deployments produced the telemetry.
This walkthrough assumes the checkout service from the Docker example is deployed in Kubernetes, with an OpenTelemetry Collector accessible through a Kubernetes Service. You’ll install OBI with Helm, configure it to instrument checkout, and verify that the Collector receives its traces and RED metrics.
Install OBI Using Helm
Before installing OBI, make sure your Go service is running in the cluster and an OpenTelemetry Collector is reachable through a Kubernetes Service.
To reuse the checkout example, package the existing Go application into a container image and deploy it on port 8080. The application code remains unchanged. For the Collector, use the OTLP receiver configuration from the Docker walkthrough, deployed inside Kubernetes with a Service named otel-collector in the observability namespace.
Check both resources:
Replace <app-namespace> with the namespace containing your application. Confirm that the deployment is available and the Collector Service exposes port 4318. The commands below assume that the Collector is accessible at otel-collector.observability.svc.cluster.local:4318.
The OpenTelemetry eBPF Instrumentation Helm chart installs OBI as a DaemonSet and creates the Kubernetes permissions needed for metadata collection. This example uses chart version 0.16.4 and OBI v1.0.0. You’ll need Kubernetes 1.24 or later and Helm 4.0 or later.
Create a values.yaml file:
The configuration selects containerized processes whose executable path ends in /checkout, rather than every workload listening on port 8080. Replace the executable pattern if your Go service uses a different binary name.
OBI sends traces and RED metrics to the Collector’s OTLP/HTTP endpoint. Kubernetes enrichment adds attributes such as k8s.pod.name and k8s.namespace.name, while debug_trace_output: text lets you inspect captured requests in the OBI logs during verification.
The configuration uses OBI Config v2, identified by extensions.obi.version: '2.0'. The Helm chart merges these settings with its Config v2 defaults.
Add the OpenTelemetry Helm repository and update its index:
Before installing, render the Kubernetes manifests to check the chart configuration:
Check the rendered ConfigMap for the checkout selector and both Collector endpoints. This verifies Helm rendering, but it does not test eBPF attachment or network connectivity.
Install OBI:
The chart creates the DaemonSet, ConfigMap, ServiceAccount, and RBAC resources. Its default DaemonSet runs with hostPID: true and a privileged container so OBI can inspect processes and attach eBPF programs on each node.
Check the deployment:
The DaemonSet’s desired and ready counts should match the eligible nodes. If a pod isn’t ready, inspect its logs before generating traffic.
Next, generate requests to the Go application. Open a terminal and forward a local port to the checkout Deployment:
Leave that terminal running. In another terminal, generate successful, slow, and failing requests:
This sends 30 requests to checkout, including 10 failures.
First, verify that OBI captured the traffic. Find the OBI pod running on the same node as the selected checkout pod using kubectl get pods -o wide, then inspect its logs:
Look for requests to /ok, /slow, and /fail, with their response codes and durations. These entries confirm that OBI is observing the application’s HTTP traffic.
Next, verify that the Collector received the telemetry.
If you’re using the Collector’s debug exporter from the Docker walkthrough, identify the Collector pod and inspect its logs:
Replace <collector-pod-name> with the pod running your OpenTelemetry Collector.
Look for ResourceSpans containing HTTP server spans and ResourceMetrics containing http.server.request.duration. The resource attributes should identify the instrumented Kubernetes workload, including its pod and namespace.
Metrics may arrive after traces because they’re exported periodically. Check again after the next metric export interval if necessary.
Once both signals reach the Collector, you’ve verified Kubernetes auto-instrumentation from the Go application through OBI to the telemetry pipeline. Remove debug_trace_output: text from the Helm values when you no longer need request-level debug logs.
DaemonSet vs. Sidecar Deployment
OBI supports two Kubernetes deployment approaches. A DaemonSet runs one OBI instance per eligible node and can instrument multiple workloads. A sidecar runs alongside an application container and instruments processes within that pod.
Use a DaemonSet when you want to monitor Go services across multiple namespaces or nodes without adding an instrumentation container to every deployment. This is the approach used by the Helm walkthrough above.
A sidecar is useful when you only need to instrument one application or cannot grant OBI node-wide process visibility. The application pod must enable shareProcessNamespace: true, and the OBI container needs the permissions required to attach eBPF probes. You can use the Kubernetes sidecar deployment configuration to set this up.
For broader coverage, the DaemonSet generally requires fewer OBI instances. For example, 100 application replicas distributed across three nodes require three DaemonSet pods, compared with 100 OBI sidecars. Actual resource consumption depends on workload traffic and the instrumentation features enabled.
How to Configure OBI for Go HTTP and gRPC Tracing
OBI can capture HTTP and gRPC spans from individual Go services, but connecting those spans into a distributed trace requires context propagation. For Go applications, OBI can inject the W3C traceparent header into outgoing requests without modifying the application code, allowing requests across multiple services to share a trace ID.
The Docker and Kubernetes walkthroughs already configured telemetry collection and export. This section extends the Docker example with a second Go service, enables trace propagation, and shows how to verify that their spans are connected.
Propagating Trace Context Between Go Services
OBI supports Go library-level context propagation for HTTP, HTTPS, HTTP/2, and gRPC. It uses bpf_probe_write_user to insert trace context into outgoing requests before encryption.
This requires Go 1.18 or later, CAP_SYS_ADMIN on Linux 5.10 and later, and a kernel that permits writing to application memory. Check the host’s kernel lockdown mode:
If the file exists, [none] indicates that kernel lockdown isn’t blocking the operation. An active lockdown mode can prevent library-level propagation even when OBI runs with --privileged.
To test trace propagation, add a frontend service that receives requests on port 8081 and calls the existing checkout service on port 8080.
Keep checkout and the OpenTelemetry Collector running from the Docker walkthrough. Stop the original OBI container with Ctrl+C so you can restart it with propagation enabled.
Open another terminal in the checkout project directory and create the frontend module:
Save the following code as main.go:
Build and start the service:
Leave the process running. The frontend service now accepts requests at /buy and makes an HTTP call to checkout.
Restart OBI in its terminal with both ports selected and header propagation enabled:
OTEL_EBPF_BPF_CONTEXT_PROPAGATION=headers enables trace context propagation through HTTP headers without TCP-option injection. The host mounts provide access to the tracing, cgroup, and kernel security information used by OBI. The tracing mount is especially important on kernels 6.6.128+, 6.12.75+, 6.18.14+, and 6.19+, where OBI can otherwise disable context propagation.
After OBI discovers both services, open another terminal and generate traffic:
Each successful request should return ok.
Inspect the Collector output:
For each request, look for three spans:
- A
frontendserver span for the incoming/buyrequest. - A
frontendclient span for the outgoing HTTP call. - A
checkoutserver span for the/okrequest.
All three spans should share the same Trace ID. The checkout server span’s Parent ID should match the frontend client span’s ID. This confirms that OBI propagated the trace context between the two services.
If the spans have different trace IDs, check that both binaries are instrumented, header propagation is enabled, the host mounts are present, and the kernel permits bpf_probe_write_user. The troubleshooting section covers these failures in more detail.
For an existing Go gRPC application, the same propagation setting works with supported google.golang.org/grpc versions, starting with v1.40. Select the client and server processes, generate a gRPC request, and check the Collector for connected RPC spans and rpc.server.call.duration metrics.
To enable propagation on Kubernetes, open the Helm values.yaml file from the previous section. Under the existing config.data.extensions.obi.capture block, add:
Keep the existing capture policy, rules, and metrics configuration.
For Go library-level propagation on Kubernetes, also mount the host’s kernel security directory so OBI can check the kernel lockdown mode. Add the following fields at the root of the existing Helm values.yaml file, outside config.data:
This allows OBI to determine whether the kernel permits writing trace context into outgoing Go requests.
If you deploy both frontend and checkout, update the executable selector to include both services:
When the services run in separate Kubernetes pods, configure frontend to call the checkout Kubernetes Service address instead of localhost:8080. The Docker example uses localhost because both Go processes run directly on the same Linux host.
Apply the Helm changes:
Generate a request between the Kubernetes services and compare their trace IDs and parent IDs in the Collector. The same kernel permissions and propagation requirements apply.
Combining OBI With Existing OpenTelemetry Go SDK Traces
If a Go service already exports OpenTelemetry traces through an SDK, instrumenting the same operations with OBI can produce duplicate spans. OBI normally detects services exporting their own telemetry and suppresses its instrumentation to prevent this overlap.
When configuring custom workload selection, avoid instrumenting services that already have sufficient SDK coverage. In Config v2, custom capture rules replace OBI’s built-in exclusions, so preserve any exclusions needed for existing instrumented workloads.
A separate case involves applications that use the OpenTelemetry Go Trace API without registering an SDK TracerProvider. OBI can capture those application-created spans alongside its eBPF spans when the binary, module versions, and kernel permissions meet the Go Trace API compatibility requirements. Applications with an existing SDK TracerProvider continue to manage their own manually instrumented spans.
How to Troubleshoot OBI Instrumentation
When OBI fails to capture telemetry, check each stage of the pipeline: process discovery, eBPF probe attachment, trace and metric generation, and OTLP export. Identifying where the data stops helps you fix the problem without changing unrelated settings.
Start by checking OBI and Collector logs. For the Docker setup:
For Kubernetes, identify the OBI pod running on the same node as your Go application and inspect its logs:
Use the results to narrow down the problem:
For more detail on failed probe attachments, set OTEL_EBPF_LOG_LEVEL=debug in the Docker configuration. In the Kubernetes Helm configuration, add log_level: debug under config.data, alongside file_format, and apply the change with helm upgrade.
Keep debug logging temporary because it increases log volume.
Why Are OBI Traces Missing or Disconnected?
If OBI logs show requests but the Collector has no corresponding ResourceSpans, start with the exporter configuration. Confirm the OTLP endpoint is reachable and the Collector’s traces pipeline includes the OTLP receiver and debug exporter used earlier.
If the Collector receives spans but you cannot find them under the expected service, inspect their service.name and Kubernetes resource attributes. OBI may have assigned a different service identity.
Disconnected traces require a different check. In the frontend and checkout example, both services should share a trace ID, and the checkout server span should reference the frontend client span as its parent.
If they produce separate traces, check that:
- Both Go processes are selected for instrumentation.
- Header propagation is enabled with
OTEL_EBPF_BPF_CONTEXT_PROPAGATION=headersin Docker orcapture.engine.propagation.context_propagation: headersin Config v2. - OBI has
CAP_SYS_ADMIN, the required host mounts, and permission to usebpf_probe_write_user. - The kernel lockdown mode permits Go library-level context propagation.
If only some requests are missing, also check whether traces are being sampled before or after reaching the Collector.
How Much Performance Overhead Does OBI Add?
OBI consumes resources in two places: eBPF probes execute when instrumented operations occur, while the OBI process processes events, builds spans and metrics, and exports telemetry. Overhead depends on request volume, the number of instrumented processes, and enabled features.
Measure the impact on your own Go service rather than relying on a fixed CPU or latency estimate. Run the same representative load before and after enabling OBI, then compare application CPU, memory, throughput, and p95/p99 request latency.
Measure OBI’s resource usage separately. For Docker:
For Kubernetes clusters with Metrics Server installed:
These commands show OBI’s CPU and memory consumption, not the additional CPU time spent by eBPF probes in the instrumented application. Compare application metrics separately to capture the full impact.
If overhead is higher than expected, first reduce the number of instrumented processes using the capture selectors and disable telemetry features you don’t need. Repeat the load test after each change to confirm that resource usage improves without losing the traces and RED metrics required for monitoring.
Monitoring Go Applications With groundcover’s eBPF Sensor
groundcover combines eBPF-based application monitoring with OpenTelemetry ingestion, allowing you to monitor Go services without SDK instrumentation while retaining telemetry from existing OBI pipelines. Its eBPF sensor captures supported application traffic, including HTTP and gRPC requests, alongside Kubernetes metrics, logs, and workload context. This gives you a single platform for investigating application performance and the infrastructure behind it.
You can use groundcover’s sensor to capture Go telemetry automatically or send the traces and metrics collected by OBI through your existing OpenTelemetry Collector. Both approaches let you investigate application behavior alongside other observability signals, while groundcover’s Bring Your Own Cloud (BYOC) architecture keeps stored telemetry in your cloud environment.
Capturing Go Traces and RED Metrics Without SDKs
groundcover uses eBPF auto-instrumentation to capture supported application operations without modifying Go source code or installing instrumentation libraries. Its node-level sensor discovers application traffic and supports HTTP, gRPC, and encrypted Go communication using crypto/tls. It also connects application requests to Kubernetes workloads, allowing you to investigate service behavior alongside infrastructure activity.
After installing groundcover’s sensor in your Kubernetes cluster, generate requests to the checkout application from the earlier walkthrough. Open the workload’s Application Metrics to examine request rate, errors from /fail, and latency from /slow. Then use the Traces view to inspect individual requests and identify where time was spent across services. You can investigate these signals alongside logs, Kubernetes events, and resource metrics without adding instrumentation code to the application.
Sending Existing OBI Telemetry Through OTLP
If you’re already using OBI, keep its existing Collector configuration and add groundcover as an export destination. groundcover accepts OTLP/HTTP traces and metrics through its BYOC ingestion endpoint, so you don’t need to change the Go application or OBI instrumentation. The Collector handles delivery to groundcover while preserving the telemetry pipeline configured earlier, following the same centralized export approach used in OpenTelemetry Collector deployments on Kubernetes.
Open Settings → Access → Ingestion Keys in groundcover and create a Third Party ingestion key. Copy the key and your BYOC endpoint, then open the otel-collector.yaml file from the Docker walkthrough. Keep the existing receivers block and replace the exporters and service blocks with:
Replace {BYOC_ENDPOINT} and {INGESTION_KEY} with your groundcover values. For production deployments, store the ingestion key in a secret rather than committing it to the Collector configuration. The debug exporter continues printing telemetry locally, while otlp_http/groundcover forwards traces and metrics to groundcover over HTTPS.
Apply the updated configuration by restarting the Collector:
Keep OBI running and generate new requests to /ok, /slow, and /fail. Check the Collector logs to confirm that traces and metrics are still arriving, then open groundcover’s Traces view to find the checkout requests and inspect their service attributes.
groundcover also turns OpenTelemetry spans into APM measurements, allowing your existing OBI telemetry to contribute to request-rate, error-rate, and latency monitoring. You can use those measurements alongside the eBPF sensor’s application and infrastructure telemetry to investigate slow requests, identify failing services, and monitor Go application performance from a single platform.
FAQs
OBI supports Go, Java, .NET, Python, Ruby, Node.js, C, C++, and Rust applications on supported Linux hosts. It instruments protocols including HTTP/HTTPS, HTTP/2, gRPC, PostgreSQL, MySQL, Redis, MongoDB, and Kafka, among others. Coverage depends on the runtime, library versions, and protocol, while distributed tracing requires compatible context propagation. Check the OBI support matrix for supported combinations.
OBI uses eBPF to instrument supported applications from outside their processes without modifying application code. Language agents, such as the OpenTelemetry Java agent, attach to a language runtime to instrument supported libraries automatically. Manual SDK instrumentation gives Go developers control over custom spans, attributes, and business operations, but requires application code changes. OBI provides automatic HTTP and gRPC visibility, while SDK instrumentation adds detail about internal application logic.
OBI introduces overhead from eBPF probes and the userspace process that assembles and exports telemetry. The impact depends on request volume, enabled instrumentation, and the number of monitored processes. Compare application CPU, memory, throughput, and p95/p99 latency with and without OBI, then measure OBI’s resource consumption separately using the commands in the troubleshooting section.
No. OBI originated from Grafana Beyla’s contribution to OpenTelemetry, and the projects share instrumentation code. Beyla is Grafana’s distribution, while OBI is maintained within OpenTelemetry and uses the OTEL_EBPF_ configuration prefix instead of BEYLA_.
Yes. Set OTEL_EBPF_AUTO_TARGET_EXE to an executable path pattern instead of using OTEL_EBPF_OPEN_PORT. For the Docker example, use OTEL_EBPF_AUTO_TARGET_EXE='*/checkout' to select the application by its binary path. In Config v2, use capture.rules with exe_path_glob, as demonstrated in the Kubernetes walkthrough.
No. OBI attaches to supported Go processes while they’re running, so you don’t need to rebuild or restart the application. Restart OBI when changing its configuration. For gRPC, connections established before instrumentation starts may have incomplete method information until they reconnect.
Partially. OBI supports some instrumentation of stripped Go binaries on Linux amd64, but features that depend on unavailable debugging information or runtime offsets may not work. Build without the -s -w linker flags when you need broader Go library instrumentation coverage.
No. OBI requires a supported Linux kernel with eBPF and BTF support and runs on amd64 or arm64. On Windows or macOS, use a Linux virtual machine that meets those requirements.





