Protected
_configProtected
_diagProtected
_massProtected
_massProtected
_unwrapProtected
_wrapReadonly
instrumentationInstrumentation Name
Readonly
instrumentationInstrumentation Version
Protected
_runExecute span customization hook, if configured, and log any errors. Any semantics of the trigger and info are defined by the specific instrumentation.
The optional hook handler which the user has configured via instrumentation config
The name of the trigger for executing the hook for logging purposes
The span to which the hook should be applied
The info object to be passed to the hook, with useful data the hook may use
Protected
_updateSets the new metric instruments with the current Meter.
Method to disable the instrumentation
Method to enable the instrumentation
Method to get instrumentation config
Experimental
Get module definitions defined by init. This can be used for experimental compile-time instrumentation.
an array of InstrumentationModuleDefinition
Init method in which plugin should define _modules and patches for methods.
Sets InstrumentationConfig to this plugin
Base abstract class for instrumenting node plugins