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

Gauge that sums up the values of different gauges.
Inheritance: ICounterValue
Datei anzeigen Open project: Microsoft/ApplicationInsights-dotnet-server Class Usage Examples

Public Methods

Method Description
GetValueAndReset ( ) : double

Returns the current value of the sum of all different gauges attached to this one and resets their values.

SumUpCountersGauge ( string name ) : System.Collections.Generic

Initializes a new instance of the SumUpCountersGauge class.

Method Details

GetValueAndReset() public method

Returns the current value of the sum of all different gauges attached to this one and resets their values.
public GetValueAndReset ( ) : double
return double

SumUpCountersGauge() public method

Initializes a new instance of the SumUpCountersGauge class.
public SumUpCountersGauge ( string name ) : System.Collections.Generic
name string Name of the SumUpCountersGauge.
return System.Collections.Generic