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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

Disposes resources allocated by this type.
public Dispose ( ) : void
Résultat void

Initialize() public méthode

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.
Résultat void

QuickPulseTelemetryModule() public méthode

Initializes a new instance of the QuickPulseTelemetryModule class.
public QuickPulseTelemetryModule ( ) : System
Résultat System

RegisterTelemetryProcessor() public méthode

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.
Résultat void