interface IDependenciesPlugin {
    addDependencyListener(dependencyListener: DependencyListenerFunction): IDependencyListenerHandler;
    trackDependencyData(dependency: IDependencyTelemetry): void;
}

Hierarchy (view full)

Methods

  • Add an ajax listener which is called just prior to the request being sent and before the correlation headers are added. This allows you to access the headers and modify the values used to generate the distributed tracing correlation headers (added in v2.8.4), or to drop the correlation (added in v3.3.7).

    Parameters

    Returns IDependencyListenerHandler

    • A IDependencyListenerHandler to enable the initializer to be removed
  • Logs dependency call

    Parameters

    Returns void