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). |
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기