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

Telemetry module for collecting QuickPulse data.
Inheritance: ITelemetryModule, IDisposable
Datei anzeigen Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes resources allocated by this type.

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

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

QuickPulseTelemetryModule ( ) : System

Initializes a new instance of the QuickPulseTelemetryModule class.

RegisterTelemetryProcessor ( ITelemetryProcessor telemetryProcessor ) : void

Registers an instance of type QuickPulseTelemetryProcessor with this module.

This call is only necessary when the module is created in code and not in configuration.

Private Methods

Method Description
CollectData ( ) : void
CollectSample ( ) : Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.QuickPulseDataSample
CollectionThreadWorker ( object state ) : void
CreateCollectionThread ( ) : void
CreateDataSample ( QuickPulseDataAccumulator accumulator, double>.IEnumerable perfData ) : Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.QuickPulseDataSample
CreateStateThread ( ) : void
Dispose ( bool disposing ) : void

Dispose implementation.

EndCollectionThread ( ) : void
EnsurePerformanceCollectorInitialized ( ) : void
GetInstanceName ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : string
GetStreamId ( ) : string
InitializePerformanceCollector ( ) : void
InitializeServiceClient ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
OnReturnFailedSamples ( IList samples ) : void
OnStartCollection ( ) : void
OnStopCollection ( ) : void
OnSubmitSamples ( ) : IList
QuickPulseTelemetryModule ( Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.QuickPulseCollectionTimeSlotManager collectionTimeSlotManager, QuickPulseDataAccumulatorManager dataAccumulatorManager, IQuickPulseServiceClient serviceClient, IPerformanceCollector performanceCollector, QuickPulseTimings timings ) : System

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

StateThreadWorker ( object state ) : void
StoreSample ( Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.QuickPulse.QuickPulseDataSample sample ) : void
ValidateConfiguration ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void

Method Details

Dispose() public method

Disposes resources allocated by this type.
public Dispose ( ) : void
return void

Initialize() public method

Initialize method is called after all configuration properties have been loaded from the configuration.
public Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration TelemetryConfiguration passed to the module.
return void

QuickPulseTelemetryModule() public method

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

RegisterTelemetryProcessor() public method

Registers an instance of type QuickPulseTelemetryProcessor with this module.
This call is only necessary when the module is created in code and not in configuration.
public RegisterTelemetryProcessor ( ITelemetryProcessor telemetryProcessor ) : void
telemetryProcessor ITelemetryProcessor QuickPulseTelemetryProcessor instance to be registered with the module.
return void