Access driver's singleton instance

All user-defined functions are provisioned on the singleton driver.Driver instance. Wrappers around this driver (used for observability or other cross-cutting features) cannot access those custom functions.

This MR change the private function newDriver() to a public function InstanceDriver() to export the singleton reference.

Merge request reports

Loading