When I enable Grafana Beyla to collect traces, my database connection times increase significantly.
To confirm the correlation, I tested by toggling Beyla tracing on and off — the latency only occurs when Beyla trace collection is enabled.
Beyla version : 2.7.2
Kubernetes / EKS version : 1.32
Kernel version: 6.12
Application language : Java
Database driver : Microsoft SQL Server JDBC driver
Database: AWS RDS MS-SQL instance
Beyla DaemonSet CPU & memory usage: Normal (no spikes observed)
Steps to Reproduce
Deploy Grafana Beyla 2.7.2 as a DaemonSet on EKS 1.32.
Run a Java application that connects to an AWS RDS MS-SQL instance using the official Microsoft JDBC driver.
Enable Beyla trace collection.
Measure database connection or query latency — it increases noticeably.
Disable Beyla — latency returns to normal.
Expected Behavior
Enabling Beyla tracing should not introduce noticeable latency in database connections.
