C# Класс Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.WebAppPerformanceCollector.RawCounterGauge

Gauge that gives the user an aggregate of requested counters in a cache.
Наследование: ICounterValue
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetValueAndReset ( ) : double

Returns the current value of the counter as a and resets the metric.

RawCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable ) : Microsoft.ApplicationInsights.DataContracts

Initializes a new instance of the RawCounterGauge class.

Приватные методы

Метод Описание
RawCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable, ICachedEnvironmentVariableAccess cache ) : Microsoft.ApplicationInsights.DataContracts

Описание методов

GetValueAndReset() публичный Метод

Returns the current value of the counter as a and resets the metric.
public GetValueAndReset ( ) : double
Результат double

RawCounterGauge() публичный Метод

Initializes a new instance of the RawCounterGauge class.
public RawCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable ) : Microsoft.ApplicationInsights.DataContracts
name string Name of counter variable.
jsonId string JSON identifier of the counter variable.
environmentVariable AzureWebApEnvironmentVariables Identifier of the environment variable.
Результат Microsoft.ApplicationInsights.DataContracts