Basically you'd create an interceptor that accepts...
# exposed
a
Basically you'd create an interceptor that accepts a Metrics object and then collect the timings, registering them with the query name.