IMetricsListener Interface
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.
Represents a type used to listen to metrics emitted from the system.
public interface class IMetricsListener
public interface IMetricsListener
type IMetricsListener = interface
Public Interface IMetricsListener
Properties
Name |
Gets the name of the listener. This is used to identify the listener in the rules configuration. |
Methods
GetMeasurementHandlers() |
Called once to get the MeasurementHandlers that will be used to process measurements. |
Initialize(IObservableInstrumentsSource) |
Called once by the runtime to provide a IObservableInstrumentsSource used to pull for fresh metrics data. |
InstrumentPublished(Instrument, Object) |
Called when a new instrument is created and enabled by a matching rule. |
MeasurementsCompleted(Instrument, Object) |
Called when a instrument is disabled by the producer or a rules change. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om