hs-opentelemetry-instrumentation-persistent-0.1.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTelemetry.Instrumentation.Persistent

Synopsis

Documentation

wrapSqlBackend Source #

Arguments

:: MonadIO m 
=> HashMap 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.

wrapSqlBackend' Source #

Arguments

:: MonadIO m 
=> TracerProvider 
-> HashMap 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