C# Class Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse.QuickPulseTelemetryProcessor

Extracts QuickPulse data from the telemetry stream.
Inheritance: ITelemetryProcessor, ITelemetryModule, IQuickPulseTelemetryProcessor
显示文件 Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Private Properties

Property Type Description
CollectDependency void
CollectException void
CollectRequest void
ConvertDependencyToTelemetryDocument ITelemetryDocument
ConvertExceptionToTelemetryDocument ITelemetryDocument
ConvertRequestToTelemetryDocument ITelemetryDocument
ExpandExceptionMessage string
FlattenMessages IEnumerable
GetProperties string>[].KeyValuePair
IQuickPulseTelemetryProcessor void
IQuickPulseTelemetryProcessor void
IsRequestSuccessful bool
ProcessTelemetry void
QuickPulseTelemetryProcessor System
Register void
TruncateValue string
UpdateDependencyAggregates void
UpdateExceptionAggregates void
UpdateRequestAggregates void

Public Methods

Method Description
Initialize ( TelemetryConfiguration configuration ) : void

Initialize method is called after all configuration properties have been loaded from the configuration.

Process ( ITelemetry telemetry ) : void

Intercepts telemetry items and updates QuickPulse data when needed.

This method is performance critical since every AI telemetry item goes through it.

QuickPulseTelemetryProcessor ( ITelemetryProcessor next ) : System

Initializes a new instance of the QuickPulseTelemetryProcessor class.

Private Methods

Method Description
CollectDependency ( Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry dependencyTelemetry ) : void
CollectException ( Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry exceptionTelemetry ) : void
CollectRequest ( Microsoft.ApplicationInsights.DataContracts.RequestTelemetry requestTelemetry ) : void
ConvertDependencyToTelemetryDocument ( Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry dependencyTelemetry ) : ITelemetryDocument
ConvertExceptionToTelemetryDocument ( Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry exceptionTelemetry ) : ITelemetryDocument
ConvertRequestToTelemetryDocument ( Microsoft.ApplicationInsights.DataContracts.RequestTelemetry requestTelemetry ) : ITelemetryDocument
ExpandExceptionMessage ( Microsoft.ApplicationInsights.DataContracts.ExceptionTelemetry exceptionTelemetry ) : string
FlattenMessages ( Exception exception ) : IEnumerable
GetProperties ( ISupportProperties telemetry, string specialPropertyName = null ) : string>[].KeyValuePair
IQuickPulseTelemetryProcessor ( ) : void
IQuickPulseTelemetryProcessor ( IQuickPulseDataAccumulatorManager accumulatorManager, Uri serviceEndpoint, TelemetryConfiguration configuration, bool disableFullTelemetryItems ) : void
IsRequestSuccessful ( Microsoft.ApplicationInsights.DataContracts.RequestTelemetry request ) : bool
ProcessTelemetry ( ITelemetry telemetry ) : void
QuickPulseTelemetryProcessor ( ITelemetryProcessor next, Clock timeProvider, int maxTelemetryQuota = null, int initialTelemetryQuota = null ) : System

Initializes a new instance of the QuickPulseTelemetryProcessor class. Internal constructor for unit tests only.

Register ( ) : void
TruncateValue ( string value ) : string
UpdateDependencyAggregates ( Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry dependencyTelemetry ) : void
UpdateExceptionAggregates ( ) : void
UpdateRequestAggregates ( Microsoft.ApplicationInsights.DataContracts.RequestTelemetry requestTelemetry ) : void

Method Details

Initialize() public method

Initialize method is called after all configuration properties have been loaded from the configuration.
public Initialize ( TelemetryConfiguration configuration ) : void
configuration TelemetryConfiguration
return void

Process() public method

Intercepts telemetry items and updates QuickPulse data when needed.
This method is performance critical since every AI telemetry item goes through it.
public Process ( ITelemetry telemetry ) : void
telemetry ITelemetry Telemetry item being tracked by AI.
return void

QuickPulseTelemetryProcessor() public method

Initializes a new instance of the QuickPulseTelemetryProcessor class.
Thrown if next is null.
public QuickPulseTelemetryProcessor ( ITelemetryProcessor next ) : System
next ITelemetryProcessor The next TelemetryProcessor in the chain.
return System