Delen via


IMetricsListener.Initialize(IObservableInstrumentsSource) Method

Definition

Called once by the runtime to provide a IObservableInstrumentsSource used to pull for fresh metrics data.

public:
 void Initialize(Microsoft::Extensions::Diagnostics::Metrics::IObservableInstrumentsSource ^ source);
public void Initialize (Microsoft.Extensions.Diagnostics.Metrics.IObservableInstrumentsSource source);
abstract member Initialize : Microsoft.Extensions.Diagnostics.Metrics.IObservableInstrumentsSource -> unit
Public Sub Initialize (source As IObservableInstrumentsSource)

Parameters

source
IObservableInstrumentsSource

A IObservableInstrumentsSource that can be called to request current metrics.

Applies to