1 implementation of IObservableInstrumentsSource
Microsoft.Extensions.Diagnostics (1)
Metrics\ListenerSubscription.cs (1)
11
internal sealed class ListenerSubscription :
IObservableInstrumentsSource
, IDisposable
6 references to IObservableInstrumentsSource
Microsoft.Extensions.Diagnostics (2)
Metrics\DebugConsoleMetricListener.cs (2)
17
private
IObservableInstrumentsSource
? _source;
48
public void Initialize(
IObservableInstrumentsSource
source) => _source = source;
Microsoft.Extensions.Diagnostics.Abstractions (4)
Metrics\IMetricsListener.cs (3)
19
/// Called once by the runtime to provide a <see cref="
IObservableInstrumentsSource
"/> used to pull for fresh metrics data.
21
/// <param name="source">A <see cref="
IObservableInstrumentsSource
"/> that can be called to request current metrics.</param>
22
public void Initialize(
IObservableInstrumentsSource
source);
Metrics\IObservableInstrumentsSource.cs (1)
9
/// An interface registered with each IMetricsListener using <see cref="IMetricsListener.Initialize(
IObservableInstrumentsSource
)"/>.