Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetricSample Class
Members

In This Topic
    PerfCounterMetricSample Class
    In This Topic
    A single performance counter raw sample.
    Object Model
    PerfCounterMetricSample ClassPerfCounterMetric Class
    Syntax
    'Declaration
     
    
    <DebuggerDisplayAttribute("{Sequence}: {Timestamp} Value={Value}")>
    Public NotInheritable Class PerfCounterMetricSample 
       Inherits Gibraltar.Monitor.SampledMetricSample
       Implements Loupe.Extensibility.Data.IMetricSample, Loupe.Extensibility.Data.ISampledMetricSample 
    [DebuggerDisplay("{Sequence}: {Timestamp} Value={Value}")]
    public sealed class PerfCounterMetricSample : Gibraltar.Monitor.SampledMetricSample, Loupe.Extensibility.Data.IMetricSample, Loupe.Extensibility.Data.ISampledMetricSample  
    Remarks
    Depending on the sample, the raw value may not be directly usable. If the sample is a rate over time, you will need to compare two samples to get a true value. Additionally, depending on the resolution of the data you need, you can pick a smaller set of samples to compare. For example, if you only want one hour resolution for a graph, pick just the first sample for each hour and calculate between them. To calculate a usable value, either directly use the CounterSampleCalculator class or use the Calculate method on the CounterSample property
    Inheritance Hierarchy

    System.Object
             Loupe.Agent.PerformanceCounters.PerfCounterMetricSample

    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