แชร์ผ่าน


TelemetrySink Class

Definition

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

public sealed class TelemetrySink : IDisposable, Microsoft.ApplicationInsights.Extensibility.ITelemetryModule
type TelemetrySink = class
    interface IDisposable
    interface ITelemetryModule
Public NotInheritable Class TelemetrySink
Implements IDisposable, 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