AutocollectedMetricsExtractor.Initialize(TelemetryConfiguration) Method
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.
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
Azure SDK for .NET