Jaa


AutocollectedMetricsExtractor.Initialize(TelemetryConfiguration) Method

Definition

This class implements the ITelemetryModule interface by defining this method. It will be called by the infrastructure when the telemetry pipeline is being built. This will ensure that the extractor is initialized using the same TelemetryConfiguration as the rest of the pipeline. Specifically, this will also ensure that the TelemetryClient used internally for sending extracted metrics uses the same configuration.

public void Initialize (Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration configuration);
abstract member Initialize : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration -> unit
override this.Initialize : Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration -> unit
Public Sub Initialize (configuration As TelemetryConfiguration)

Parameters

configuration
TelemetryConfiguration

The telemetry configuration to be used by this extractor.

Implements

Applies to