Creates a new Telemetry Item context with the current config, core and plugin execution chain
The current config
The current core instance
Optional
startAt: IPluginReturns the IAppInsightsCore instance for the current request
Create a new context using the core and config from the current instance
Optional
plugins: ITelemetryPluginChain | IPlugin[]The execution order to process the plugins, if null or not supplied then the current execution order will be copied.
Optional
startAt: IPluginThe plugin to start processing from, if missing from the execution order then the next plugin will be NOT set.
Returns the current IDiagnosticsLogger for the current request
Gets the current core config instance
Gets the named config from either the named identifier extension or core config if neither exist then the default value is returned
The named extension identifier
The config field name
Optional
defaultValue: The default value to return if no defined config exists
Gets the named extension config
Returns the next configured plugin proxy
Helper to allow inherited classes to check and possibly shortcut executing code only required if there is a nextPlugin
Synchronously iterate over the context chain running the callback for each plugin, once every plugin has been executed via the callback, any associated onComplete will be called.
Set the function to call when the current chain has executed all processNext or unloadNext items.
Call back for telemetry processing before it it is sent
This is the current event being reported
boolean (true) if there is no more plugins to process otherwise false or undefined (void)
Helper to set the next plugin proxy
This class will be removed!
Deprecated
use createProcessTelemetryContext() instead