Registry / observability / exaring-otelpgx

exaring-otelpgx

JSON →
library0.11.1gogounverified

OpenTelemetry instrumentation for the pgx PostgreSQL driver.

go get github.com/exaring/otelpgx
INSTALL
IMPORT
SIG · EXARING-OTELPGX
E
exaring-otelpgx
observabilitygov0.11.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

otelpgx
✓ github.com/exaring/otelpgx

Instrument pgx connection pool with OpenTelemetry.

package main import ( "github.com/exaring/otelpgx" "github.com/jackc/pgx/v5/pgxpool" ) func main() { config, _ := pgxpool.ParseConfig("postgres://...") config.ConnConfig.Tracer = otelpgx.NewTracer() pool, _ := pgxpool.NewWithConfig(context.Background(), config) defer pool.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
exaring-otelpgx — go get exaring-otelpgx · libregistry