otel-instrumentation-postgres
JSON →OpenTelemetry instrumentation for postgres.js (the PostgreSQL client for Node.js). Version 1.0.0 provides tracing and metrics (spans, histograms, counts) for database queries, connections, and performance insights. It captures query duration, SQL operation type, table names, parameter counts, and slow query detection. Configurable histogram buckets, parameter sanitization, and lifecycle hooks. Ships TypeScript types. Peer dependency on @opentelemetry/api ^1.9.0. Requires an OpenTelemetry SDK to be set up separately.