ExpansiveWorlds / instrumentedsql

A sql driver that will wrap any other driver and log/trace all its calls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a more generic hook mechanism

luna-duclos opened this issue · comments

This would be useful in case anyone wants to hook in something specific to their application, such as custom metrics or other stuff

what about integrating it with: https://github.com/gchaincl/sqlhooks?

Looking at it, it looks like integration isn't even necessary, I see no reason why this package and gchaincl/sqlhooks wouldn't play nicely together.

Edit: It doesn't look like it is up to date with Go 1.8

@luna-duclos you're right, they should.
if you're getting problems with 1.8 can you open an issue pls?