OptionalenabledWhether to enable the plugin.
OptionalhooksHooks to run before spans are finished.
Optionalrequest?: (Hook to execute just before the request span finishes.
OptionalmeasuredWhether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.
OptionalserviceThe service name to be used for this plugin.
This plugin automatically instruments the next module.