Open
Description
Problem Statement
Extracted from #16505 (comment), we should find a way to ignore certain spans emitted from the OTel pg
instrumentation. For example, the pg-pool.connect
spans.
Solution Brainstorm
Right now, I don't think there is a way to achieve this, given that the pg
instrumentation from OTel used in our postgresIntegration
doesn't expose an option for (not) starting connect spans. Which means we'll likely need to contribute this upstream or vendor-in the pg
instrumentation (with pg
already being Otel v2 compatible, we'd likely need to vendor-in anyway).