Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.Extensions.Diagnostics.Abstractions

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​Extensions.​Diagnostics.​Metrics

interface IMetricsBuilder
Configures the metrics system by registering IMetricsListeners and using rules to determine which metrics are enabled.
interface IMetricsListener
Listens to metrics emitted from the system.
Contains a set of parameters used to determine which instruments are enabled for which listeners. Unspecified parameters match anything.
An interface registered with each IMetricsListener using <see cref="M:Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener.Initialize(Microsoft.Extensions.Diagnostics.Metrics.IObservableInstrumentsSource)" /> .
Represents a set of supported measurement types. If a listener does not support a given type, the measurement is skipped.
enum MeterScope
Represents scopes used by <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule" /> to distinguish between meters created via <see cref="T:System.Diagnostics.Metrics.Meter" /> constructors ( <see cref="F:Microsoft.Extensions.Diagnostics.Metrics.MeterScope.Global" /> ) and those created via Dependency Injection with <see cref="M:System.Diagnostics.Metrics.IMeterFactory.Create(System.Diagnostics.Metrics.MeterOptions)" /> ( <see cref="F:Microsoft.Extensions.Diagnostics.Metrics.MeterScope.Local" /> ).
Extension methods for <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder" /> to add or clear <see cref="T:Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener" /> registrations, and to enable or disable metrics.
Represents options for configuring the metrics system.