go-sensor icon indicating copy to clipboard operation
go-sensor copied to clipboard

(WIP) pgxpool support

Open noctarius opened this issue 3 years ago • 0 comments

This contribution adds a support wrapper for pgxpool. Two different execution models are supported. Pool is a direct wrapper of the underlying pgxpool Pool instance and just captures the query time, whereas everything in extensions.go offers utility methods which use the instrumented Pool instance to capture query and fetch time (where query+fetch time is implemented as an internal span in Instana).

noctarius avatar Apr 25 '21 12:04 noctarius