C# Class Microsoft.ApplicationInsights.WindowsServer.AzureWebAppRoleEnvironmentTelemetryInitializer

A telemetry initializer that will gather Azure Web App Role Environment context information.
Inheritance: ITelemetryInitializer
Mostra file Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method Description
AzureWebAppRoleEnvironmentTelemetryInitializer ( ) : System

Initializes a new instance of the AzureWebAppRoleEnvironmentTelemetryInitializer class.

Initialize ( ITelemetry telemetry ) : void

Initializes ITelemetry device context.

Private Methods

Method Description
GetNodeName ( ) : string
GetRoleName ( ) : string

Method Details

AzureWebAppRoleEnvironmentTelemetryInitializer() public method

Initializes a new instance of the AzureWebAppRoleEnvironmentTelemetryInitializer class.
public AzureWebAppRoleEnvironmentTelemetryInitializer ( ) : System
return System

Initialize() public method

Initializes ITelemetry device context.
public Initialize ( ITelemetry telemetry ) : void
telemetry ITelemetry The telemetry to initialize.
return void