IMetricsListener.Initialize(IObservableInstrumentsSource) 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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.