Add pool, cache and agent instrumentation support

This feature is not completely supported yet