From b1cf1989ceaf30598e456c13116dafce521a4088 Mon Sep 17 00:00:00 2001 From: Arne Luenser Date: Tue, 4 Apr 2023 14:58:12 +0200 Subject: [PATCH] fix: reduce SQL tracing noise (#1301) --- internal/driver/pop_connection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/driver/pop_connection.go b/internal/driver/pop_connection.go index 96716ef0d..1e5122994 100644 --- a/internal/driver/pop_connection.go +++ b/internal/driver/pop_connection.go @@ -27,6 +27,7 @@ func (r *RegistryDefault) PopConnectionWithOpts(ctx context.Context, popOpts ... InstrumentedDriverOptions: []instrumentedsql.Opt{ instrumentedsql.WithTracer(otelsql.NewTracer()), instrumentedsql.WithIncludeArgs(), + instrumentedsql.WithOpsExcluded(instrumentedsql.OpSQLRowsNext), }, } for _, o := range popOpts {