talira

Grafana Beyla

eBPF-based auto-instrumentation: OpenTelemetry traces and RED metrics with no code changes

open sourceApache-2.0self-hostablefree

Grafana Beyla attaches eBPF probes to the Linux kernel and to running services to produce trace spans and RED metrics (request rate, errors, duration) for HTTP/S, gRPC, SQL, Redis, Kafka and MongoDB traffic, with no changes to application code, in Go, Java, .NET, Node.js, Python, Ruby, Rust, C/C++ and more. It exports OpenTelemetry data and Prometheus metrics, adds Kubernetes metadata, and runs on Linux hosts, in containers, as a Kubernetes DaemonSet or as a component of Grafana Alloy. Grafana Labs donated Beyla's code to OpenTelemetry in 2025, where it became OpenTelemetry eBPF Instrumentation (OBI); Beyla is now Grafana Labs' distribution of OBI, importing its code as a library and adding Grafana Cloud configuration, process metrics, a survey mode that discovers services without instrumenting them, Alloy and Fleet Management integration and Tempo inter-cluster service graphs. It is Apache-2.0.

Ways to install

Problems it solves

  • get request rate, error and latency metrics for every service without touching their code
  • trace HTTP and gRPC calls in a legacy app we can't recompile or add an SDK to
  • instrument services written in languages that have no good OpenTelemetry SDK
  • see which services are talking to each other on our Kubernetes cluster automatically
  • add tracing to dozens of microservices at once instead of instrumenting each one
  • measure SQL, Redis and Kafka client calls from our apps without code changes
  • send zero-code traces and metrics straight to Grafana Cloud
  • find out which services and languages are running on a node before instrumenting them
  • collect CPU, memory and network metrics for the processes we instrument
  • run automatic instrumentation as part of the Grafana Alloy agent we already deploy
  • draw service graphs that include calls to services outside the cluster
  • cut instrumentation overhead for interpreted Python and Ruby services

Features

  • zero-code trace spans and RED metrics from eBPF probes
  • HTTP/S, HTTP/2, gRPC, SQL, Redis, Kafka and MongoDB instrumentation
  • Go, Java, .NET, Node.js, Python, Ruby, Rust and C/C++ services
  • exports OpenTelemetry (OTLP) data and native Prometheus metrics
  • Kubernetes metadata decoration (Pod, namespace and more)
  • runs on Linux hosts, in containers, in Kubernetes or as a Grafana Alloy component
  • Grafana Cloud OTLP configuration section and GRAFANA_CLOUD_* variables
  • process metrics (CPU, memory, disk, network) for instrumented processes
  • survey mode that discovers services and their languages without instrumenting them
  • Tempo inter-cluster service graph connector spans
View 3 more
  • Fleet Management through Alloy
  • official Helm chart and Docker image
  • can run without root, with the documented Linux capabilities

Limitations

  • Doesn't run on macOS or Windows: it needs Linux kernel 5.8 or later with BTF, or a RHEL-family 4.18 kernel from build 3482

Alternatives

The same job

These do what Grafana Beyla does.

  1. OpenTelemetry eBPF Instrumentation eBPF-based zero-code instrumentation following the OpenTelemetry standard
  2. Pixie Instant Kubernetes-Native Application Observability
  3. Coroot Open source observability and APM with AI-powered root cause analysis
  4. Odigos Production context. For every decision.
  5. OpenTelemetry Vendor-neutral APIs, SDKs and tools for traces, metrics and logs

Compare Grafana Beyla with the top 3