A plugin for the Google Stackdriver Trace agent to enable tracing of requests handled by modofun.
Just add the following to the top of your Google Cloud Function:
require('@google-cloud/trace-agent').start({
plugins: { 'modofun': 'modofun-trace-agent-plugin' }
});
This will enable tracing of all requests on Stackdriver Trace.
You can install it using npm:
$ npm install modofun-trace-agent-plugin
Or yarn:
$ yarn add modofun-trace-agent-plugin