Back to articles
Grafana Beyla Has a Free API: Zero-Code Observability With eBPF
How-ToDevOps

Grafana Beyla Has a Free API: Zero-Code Observability With eBPF

via Dev.to DevOpsAlex Spinov

What if you could get full observability — metrics and traces — without changing a single line of code? Without even restarting your app? That's Grafana Beyla. What Is Grafana Beyla? Grafana Beyla uses eBPF to automatically instrument your applications. It hooks into the Linux kernel to capture HTTP requests, gRPC calls, SQL queries, and DNS lookups — without any SDK, agent library, or code changes. # That's the entire setup BEYLA_OPEN_PORT = 8080 beyla Your Go, Python, Node.js, Java, Rust, or C++ service running on port 8080 now has metrics and traces. No code changes. No restart. What It Captures Automatically HTTP/HTTPS requests (server and client) gRPC calls SQL queries (PostgreSQL, MySQL) Redis commands Kafka produce/consume DNS lookups For each: latency, status code, request/response size, source/destination. Metrics Output Beyla generates Prometheus metrics automatically: # HTTP server metrics http_server_request_duration_seconds_bucket { method = "GET" , status = "200" , route

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
6 views

Related Articles