TelemetrySink Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents a destination for telemetry, consisting of a set of telemetry processors and a channel.

C#
public sealed class TelemetrySink : IDisposable, Microsoft.ApplicationInsights.Extensibility.ITelemetryModule
Inheritance
TelemetrySink
Implements

Constructors

TelemetrySink()

Initializes a new instance of the TelemetrySink class.

TelemetrySink(TelemetryConfiguration, ITelemetryChannel)

Initializes a new instance of the TelemetrySink class.

Fields

DefaultSinkName

The name to use for the default telemetry sink when specifying its properties through configuration.

Properties

Name

Gets or sets the name of the sink.

TelemetryChannel

Gets or sets the telemetry channel.

TelemetryProcessorChainBuilder

Gets or sets an instance of the TelemetryProcessorChainBuilder that this sink is using.

TelemetryProcessors

Gets a readonly collection of TelemetryProcessors.

Methods

Dispose()

Releases resources used by the instance of TelemetrySink class.

Initialize(TelemetryConfiguration)

Initializes the sink.

Process(ITelemetry)

Processes a collected telemetry item.

Applies to

Toode Versioonid
Azure SDK for .NET Latest, Preview