|Gibraltar.Agent.Metrics Namespace : SamplingType Enumeration|
|IncrementalCount||Each sample is the incremental change in the value for display as this data point.|
|IncrementalFraction||Each sample has the separate incremental changes to the numerator and denominator of the fraction for display as this data point.|
|RawCount||Each sample is the raw value for display as this data point.|
|RawFraction||Each sample has the raw numerator and denominator of a fraction for display as the value for this data point.|
|TotalCount||Each sample is the cumulative total of display value data points.|
|TotalFraction||Each sample has the separate cumulative totals of the numerators and denominators of fraction value data points.|
In many cases it is necessary to store raw facts that are translated into the final display value during the display process so that they work regardless of time resolution.
For example, to determine the percentage of processor time used for an activity, you need to know a time interval to look across (say per second, per hour, etc.), how many units of work were possible during that interval (time slices of the processor) and how many were used by the process. By specfying the TotalFraction type, the metric display system will automatically inspect the raw and baseline values then translate them into a percentage.
For more information on how to design sampled metrics including picking a Sampling Type, see Developer's Reference - Metrics - Designing Sampled Metrics.
This enumeration is conceptually similar to the Performance Counter Type enumeration provided by the runtime, but has been simplified for easier use.
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