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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για