Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterMetric Class / PerfCounterMetric Constructor / PerfCounterMetric Constructor(PerfCounterMetricDefinition,PerformanceCounter,PerfCounterInstanceAlias)
The metric definition for the provided windows performance counter
The windows performance counter to add as a metric
An alias to use to determine the instance name instead of the instance of the supplied counter.

In This Topic
    PerfCounterMetric Constructor(PerfCounterMetricDefinition,PerformanceCounter,PerfCounterInstanceAlias)
    In This Topic
    Create a new performance counter metric object from the provided windows performance counter
    Syntax

    Parameters

    definition
    The metric definition for the provided windows performance counter
    counter
    The windows performance counter to add as a metric
    alias
    An alias to use to determine the instance name instead of the instance of the supplied counter.
    Remarks
    The new metric will automatically be added to the metric definition's metrics collection.
    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