hasql-opentelemetry: OpenTelemetry tracing for hasql
Wraps the pqi adapter that hasql 2 connects through, so that every command sent to Postgres becomes an OpenTelemetry client span carrying the SQL, the row count and, on failure, the SQLSTATE. Spans are timed from the send to the last result, including in pipeline mode. Parameter values and error messages are never recorded. . See Hasql.OpenTelemetry for usage.
[Skip to Readme]
Downloads
- hasql-opentelemetry-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.18 && <5), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.9), hs-opentelemetry-api (>=1.0 && <1.1), pqi (>=1.1 && <1.2), text (>=2.0 && <2.2), unordered-containers (>=0.2.14 && <0.3) [details] |
| Tested with | ghc ==9.12.4 |
| License | BSD-3-Clause |
| Copyright | 2026 Kronor |
| Author | Kronor |
| Maintainer | lorenzo@kronor.io |
| Uploaded | by lorenzo at 2026-10-13T10:36:30Z |
| Category | Database, Telemetry |
| Home page | https://github.com/kronor-io/hasql-opentelemetry |
| Bug tracker | https://github.com/kronor-io/hasql-opentelemetry/issues |
| Source repo | head: git clone https://github.com/kronor-io/hasql-opentelemetry |
| Distributions | |
| Downloads | 3 total (3 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |