C# 클래스 Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.WebAppPerformanceCollector.RateCounterGauge

Struct for metrics dependant on time.
상속: ICounterValue
파일 보기 프로젝트 열기: Microsoft/ApplicationInsights-dotnet-server 1 사용 예제들

공개 메소드들

메소드 설명
GetValueAndReset ( ) : double

Computes the rate of a specific counter by tracking the last collected time and value.

RateCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable, ICounterValue counter = null ) : System

Initializes a new instance of the RateCounterGauge class.

비공개 메소드들

메소드 설명
RateCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable, ICounterValue counter, ICachedEnvironmentVariableAccess cache ) : System

Initializes a new instance of the RateCounterGauge class. This constructor is intended for Unit Tests.

메소드 상세

GetValueAndReset() 공개 메소드

Computes the rate of a specific counter by tracking the last collected time and value.
public GetValueAndReset ( ) : double
리턴 double

RateCounterGauge() 공개 메소드

Initializes a new instance of the RateCounterGauge class.
public RateCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable, ICounterValue counter = null ) : System
name string Name of counter variable.
jsonId string JSON identifier of the counter variable.
environmentVariable AzureWebApEnvironmentVariables Identifier of the corresponding environment variable.
counter ICounterValue Dependant counter.
리턴 System