diff --git a/instrumentation/persistent-mysql/src/OpenTelemetry/Instrumentation/Persistent/MySQL.hs b/instrumentation/persistent-mysql/src/OpenTelemetry/Instrumentation/Persistent/MySQL.hs index 60cf49cb..620094d0 100644 --- a/instrumentation/persistent-mysql/src/OpenTelemetry/Instrumentation/Persistent/MySQL.hs +++ b/instrumentation/persistent-mysql/src/OpenTelemetry/Instrumentation/Persistent/MySQL.hs @@ -145,7 +145,7 @@ openMySQLConn tp attrs ci@MySQL.ConnectInfo {connectUser, connectPort, connectOp let attrs' = case httpOption semanticsOptions of Stable -> addStableAttributes attrs - StableAndOld -> addStableAttributes . addOldAttributes $ attrs + StableAndOld -> addStableAttributes $ addOldAttributes attrs Old -> addOldAttributes attrs (conn, backend) <- Orig.openMySQLConn ci logFunc backend' <- Otel.wrapSqlBackend' tp attrs' backend