Allow db metrics to be captured with openclerk/events

There are now eight events that can be listened to in order to
capture DB metrics.