C# Class Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.WebAppPerformanceCollector.RawCounterGauge

Gauge that gives the user an aggregate of requested counters in a cache.
Inheritance: ICounterValue
Afficher le fichier Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
RawCounterGauge ( string name, string jsonId, AzureWebApEnvironmentVariables environmentVariable, ICachedEnvironmentVariableAccess cache ) : Microsoft.ApplicationInsights.DataContracts

Method Details

GetValueAndReset() public méthode

Returns the current value of the counter as a and resets the metric.
public GetValueAndReset ( ) : double
Résultat double

RawCounterGauge() public méthode

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.
Résultat Microsoft.ApplicationInsights.DataContracts