1 write to _meterListener
Microsoft.Extensions.Diagnostics (1)
Metrics\ListenerSubscription.cs (1)
25
_meterListener
= new MeterListener();
15 references to _meterListener
Microsoft.Extensions.Diagnostics (15)
Metrics\ListenerSubscription.cs (15)
30
_meterListener
.InstrumentPublished = InstrumentPublished;
31
_meterListener
.MeasurementsCompleted = MeasurementsCompleted;
33
_meterListener
.SetMeasurementEventCallback(handlers.ByteHandler);
34
_meterListener
.SetMeasurementEventCallback(handlers.ShortHandler);
35
_meterListener
.SetMeasurementEventCallback(handlers.IntHandler);
36
_meterListener
.SetMeasurementEventCallback(handlers.LongHandler);
37
_meterListener
.SetMeasurementEventCallback(handlers.FloatHandler);
38
_meterListener
.SetMeasurementEventCallback(handlers.DoubleHandler);
39
_meterListener
.SetMeasurementEventCallback(handlers.DecimalHandler);
41
_meterListener
.Start();
78
_meterListener
.DisableMeasurementEvents(instrument);
116
_meterListener
.DisableMeasurementEvents(instrument);
124
_meterListener
.EnableMeasurementEvents(instrument, state);
285
public void RecordObservableInstruments() =>
_meterListener
.RecordObservableInstruments();
291
_meterListener
.Dispose();