C# Class Glimpse.ApplicationInsights.GlimpseTelemetryChannel

Telemetry channel that will send Application Insights telemetry to Glimpse message broker and to the Application Insights channel.
Inheritance: ITelemetryChannel, ITelemetryModule
Afficher le fichier Open project: Glimpse/Glimpse.ApplicationInsights

Private Properties

Свойство Type Description
CalculateFromLast System.TimeSpan

Méthodes publiques

Méthode Description
Dispose ( ) : void

Dispose the channel. Releases unmanaged and - optionally - managed resources.

Flush ( ) : void

Flushes the configured telemetry channel.

GlimpseTelemetryChannel ( ) : System

Initializes a new instance of the GlimpseTelemetryChannel class.

Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
Send ( ITelemetry item ) : void

Sends telemetry data item to the configured channel if the instrumentation key is not empty. Also publishes the telemetry item to the MessageBroker. Filters out the requests to Glimpse handler.

Private Methods

Méthode Description
CalculateFromLast ( IExecutionTimer timer ) : System.TimeSpan

Calculates the elapsed time from the current trace message and the preceding one.

Method Details

Dispose() public méthode

Dispose the channel. Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Résultat void

Flush() public méthode

Flushes the configured telemetry channel.
public Flush ( ) : void
Résultat void

GlimpseTelemetryChannel() public méthode

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

Initialize() public méthode

public Initialize ( Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration ) : void
configuration Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
Résultat void

Send() public méthode

Sends telemetry data item to the configured channel if the instrumentation key is not empty. Also publishes the telemetry item to the MessageBroker. Filters out the requests to Glimpse handler.
public Send ( ITelemetry item ) : void
item ITelemetry Item to send.
Résultat void