TelemetryChannel Members
Represents a communication channel for sending telemetry to application insights.
The following tables list the members exposed by the TelemetryChannel type.
Public Constructors
Name | Description | |
---|---|---|
TelemetryChannel | Initializes a new instance of the TelemetryChannel class. |
Top
Public Properties
Name | Description | |
---|---|---|
DataUploadIntervalInSeconds | Gets or sets the maximum telemetry batching interval. Once the interval expires, TelemetryChannel serializes the accumulated telemetry items for transmission. | |
DeveloperMode | Gets or sets a value indicating whether developer mode of telemetry transmission is enabled. When developer mode is True, TelemetryChannel sends telemetry to Application Insights immediately during the entire lifetime of the application. When developer mode is False, TelemetryChannel respects production sending policies defined by other properties. | |
EndpointAddress | Gets or sets the HTTP address where the telemetry is sent. | |
MaxTelemetryBufferCapacity | Gets or sets the maximum number of telemetry items will accumulate in a memory before the TelemetryChannel serializing them for transmission to Application Insights. | |
MaxTransmissionBufferCapacity | Gets or sets the maximum amount of memory, in bytes, that TelemetryChannel will use to buffer transmissions before sending them to Application Insights. | |
MaxTransmissionSenderCapacity | Gets or sets the maximum number of telemetry transmissions that TelemetryChannel will send to Application Insights at the same time. | |
MaxTransmissionStorageCapacity | Gets or sets the maximum amount of disk space, in bytes, that TelemetryChannel will use to store unsent telemetry transmissions. | |
StopUploadAfterIntervalInSeconds | Gets or sets the amount of time, in seconds, after application is started when the TelemetryChannel will send telemetry to ApplicationInsights. Once the specified amount of time runs out, telemetry will be stored on disk until the application is started again. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Dispose | Releases unmanaged and - optionally - managed resources. | |
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
Initialize | Initialize method is called after all configuration properties have been loaded from the configuration. | |
Send | Sends an instance of ITelemetry through the channel. | |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
TelemetryChannel Class
Microsoft.ApplicationInsights.Channel Namespace