This plugin automatically instruments the restify module.
Whether to enable App Analytics. Can also be set to a number instead to control the sample rate, or to an key-value pair with span names as keys and booleans or sample rates as values for more granular control.
List of URLs that should not be instrumented. Takes precedence over whitelist if a URL matches an entry in both.
Whether to enable the plugin.
An array of headers to include in the span metadata.
Hooks to run before spans are finished.
Hook to execute just before the request span finishes.
Whether to enable instrumention of
The service name to be used for this plugin.
Callback function to determine if there was an error. It should take a
status code as its only parameter and return
true for success or
List of URLs that should be instrumented.
Generated using TypeDoc