function instrumentProcessMethods(agent) {
  const globalShim = new shims.Shim(agent, 'globals', '.')
  applyDebugState(globalShim, global, false)
  const globalsFilepath = path.join(__dirname, 'instrumentation', 'core', 'globals.js')
  _firstPartyInstrumentation(agent, globalsFilepath, globalShim, global, 'globals')
}
Loads the instrumentation with `./lib/instrumentation/core/globals.js`
This instrumentation cannot be disabled by config at the moment as it just
handles logging errors for `uncaughtException` and `unhandledRejections`

@param {Agent} agent the agent instance