hs-opentelemetry-instrumentation-postgresql-simple

OpenTelemetry instrumentation for postgresql-simple

https://github.com/iand675/hs-opentelemetry#readme

Stackage Nightly 2026-07-30:1.0.0.0
Latest on Hackage:1.0.0.0

See all snapshots hs-opentelemetry-instrumentation-postgresql-simple appears in

BSD-3-Clause licensed by Ian Duncan, Jade Lovelace
Maintained by [email protected]
This version can be pinned in stack with:hs-opentelemetry-instrumentation-postgresql-simple-1.0.0.0@sha256:6ea0bd2787c713a3cf972808f474f0c71e8424ead933298399c4ff709d46a348,1916

Module documentation for 1.0.0.0

hs-opentelemetry-instrumentation-postgresql-simple

hs-opentelemetry-instrumentation-postgresql-simple

Changes

Changelog for hs-opentelemetry-instrumentation-postgresql-simple

Unreleased

1.0.0.0 - 2026-05-29

  • Fix: Use databaseOption instead of httpOption for database convention selection. Database attribute naming is now controlled independently via OTEL_SEMCONV_STABILITY_OPT_IN=database (or database/dup) rather than piggybacking on the HTTP stability setting.
  • Update stable database attributes. db.systemdb.system.name, db.namedb.namespace, db.user removed (security, per spec). db.statement uses db.query.text in stable mode.
  • Add db.operation.name from first SQL keyword (e.g. SELECT, INSERT).
  • Use {operation} {db} span name pattern (e.g. SELECT mydb).

0.2.0.1

  • Fix error thrown if no rows passed in

0.2.0.0

  • Significantly reworked implementation