Skip to content

[SHIPPED in 4.8.0] Publish driver events through diagnostics_channel #73

Closed

Description

@okomarov

Internal events for connect, TLS, query start and end, pool wait, lease start and end, idle and close, published only when something subscribes. #8, #9 and #10 are measured with them, and OpenTelemetry builds on them.

Confirm workerd supports node:diagnostics_channel first; fall back to callback options there if not. Prior art upstream: an onquery callback, porsager#1051.

Proposed upstream as tracing channels in porsager#1171; this fork names the connection channel postgres:connect rather than postgres:connection, matching node-postgres.

Activity

  1. added
    enhancement
    upstream
    area: observability
    on Oct 16, 2026
  2. moved this to Next in Roadmapon Oct 16, 2026
  3. moved this from Next to In progress in Roadmapon Oct 24, 2026
  4. 21 remaining items

  5. added this to the 4.8.0 milestone on Oct 30, 2026
  6. added a commit that references this issue on Nov 4, 2026
  7. moved this from In progress to Shipped in Roadmapon Nov 4, 2026
  8. changed the title [-]Publish driver events through diagnostics_channel[/-] [+][SHIPPED in 4.8.0] Publish driver events through diagnostics_channel[/+] on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: observabilityenhancementupstream

    Type

    No type

    Projects

    • Status
      Shipped

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions