Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetric Class / WriteSample Method / WriteSample(Double,Double) Method
The raw data value.
The divisor entry of this sample.

WriteSample(Double,Double) Method
Write a metric sample with the provided data immediately, for fraction sampling types.
Syntax
'Declaration
 
Public Overloads Sub WriteSample( _
   ByVal rawValue As Double, _
   ByVal baseValue As Double _
) 
 

Parameters

rawValue
The raw data value.
baseValue
The divisor entry of this sample.
Remarks
Sampled metrics using a non-fraction sampling type should instead use an overload taking a single data values.
Example
For examples, see the Sampled Metric class overview.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also