Skip to content

Investigate pg connect spans breaking N+1 query detection #19290

Description

@Lms24

N+1 query scenario is not being detected when pg.connect spans appear between DB query spans.

This may be due to OTel pg instrumentation emitting connect spans even when the connection is reused (sub-ms durations after the first connect).

Example trace: trace

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions