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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.