Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / MetricSampleType Enumeration

In This Topic
    MetricSampleType Enumeration
    In This Topic
    Determines what the raw data for a given sampled metric is, and how it has to be processed to produce final values.
    Syntax
    'Declaration
     
    
    Public Enum MetricSampleType 
       Inherits System.Enum
    public enum MetricSampleType : System.Enum 
    Members
    MemberValueDescription
    IncrementalCount2Each sample is the incremental change since the prior sample as of the timestamp of the sample.
    IncrementalFraction3Each sample has the numerator and denominator expressed as the incremental change since the prior sample as of the timestamp of the sample.
    RawCount0Each sample value is in final form for display as of the timestamp of the sample.
    RawFraction1Each sample value has the numerator and denominator of a fraction for display as of the timestamp of the sample.
    TotalCount4Each sample value is the cumulative total up to the timestamp of the sample
    TotalFraction5Each sample value has the numerator and denominator expressed as the total up to the timestamp of the sample.
    Remarks
    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 specifying the TotalFraction type, the metric display system will automatically inspect the raw and baseline values then translate them into a percentage. This enumeration is conceptually similar to the Performance Counter Type enumeration provided by the runtime, but has been simplified for easier use.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Gibraltar.Monitor.MetricSampleType

    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