hs-opentelemetry-instrumentation-persistent-0.0.1.0
Safe HaskellNone
LanguageHaskell2010

OpenTelemetry.Instrumentation.Persistent

Synopsis

Documentation

wrapSqlBackend Source #

Arguments

:: MonadIO m 
=> [(Text, Attribute)]

Attributes that are specific to providers like MySQL, PostgreSQL, etc.

-> SqlBackend 
-> m SqlBackend 

Wrap a SqlBackend with appropriate tracing context and attributes so that queries are tracked appropriately in the tracing hierarchy.

Orphan instances