C# Class Microsoft.ApplicationInsights.Web.RequestTrackingTelemetryModule

Telemetry module tracking requests using http module.
Inheritance: ITelemetryModule
Mostra file Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method Description
AddTargetHashForResponseHeader ( HttpContext context ) : void

Adds target response header response object.

Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void

Initializes the telemetry module.

OnBeginRequest ( HttpContext context ) : void

Implements on begin callback of http module.

OnEndRequest ( HttpContext context ) : void

Implements on end callback of http module.

Private Methods

Method Description
IsHandlerToFilter ( IHttpHandler handler ) : bool

Checks whether or not handler is a transfer handler.

NeedProcessRequest ( HttpContext httpContext ) : bool

Verifies context to detect whether or not request needs to be processed.

Method Details

AddTargetHashForResponseHeader() public method

Adds target response header response object.
public AddTargetHashForResponseHeader ( HttpContext context ) : void
context System.Web.HttpContext
return void

Initialize() public method

Initializes the telemetry module.
public Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration Telemetry configuration to use for initialization.
return void

OnBeginRequest() public method

Implements on begin callback of http module.
public OnBeginRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void

OnEndRequest() public method

Implements on end callback of http module.
public OnEndRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void