Microsoft.Extensions.Diagnostics.Metrics Namespace
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.
Classes
ConsoleMetrics |
Constants for the Console metrics listener. |
CounterAttribute |
Provides information to guide the production of a strongly typed 64 bit integer counter metric factory method and associated type. |
CounterAttribute<T> |
Provides information to guide the production of a strongly typed 64 bit integer counter metric factory method and associated type. |
GaugeAttribute |
Provides information to guide the production of a strongly typed gauge metric factory method and associated type. |
HistogramAttribute |
Provides information to guide the production of a strongly typed histogram metric factory method and associated type. |
HistogramAttribute<T> |
Provides information to guide the production of a strongly typed histogram metric factory method and associated type. |
InstrumentRule |
Contains a set of parameters used to determine which instruments are enabled for which listeners. Unspecified parameters match anything. |
MeasurementHandlers |
Represents a set of supported measurement types. If a listener does not support a given type, the measurement are skipped. |
MetricsBuilderConfigurationExtensions |
Provides extension methods for IMetricsBuilder for enabling metrics based on IConfiguration. |
MetricsBuilderConsoleExtensions |
Provides IMetricsBuilder extension methods for console output. |
MetricsBuilderExtensions |
Provides extension methods for IMetricsBuilder to add or clear IMetricsListener registrations, and to enable or disable metrics. |
MetricsOptions |
Represents options for configuring the metrics system. |
TagNameAttribute |
Provides tag information for strongly typed metrics. |
Interfaces
IMetricsBuilder |
Represents a type that configures the metrics system by registering IMetricsListeners and uses rules to determine which metrics are enabled. |
IMetricsListener |
Represents a type used to listen to metrics emitted from the system. |
IObservableInstrumentsSource |
An interface registered with each IMetricsListener using Initialize(IObservableInstrumentsSource). |
Enums
MeterScope |
Represents scopes used by InstrumentRule to distinguish between meters created via Meter constructors (Global), and those created via Dependency Injection with Create(MeterOptions) (Local). |