Method | Description | |
---|---|---|
LoadInstancesForCounter ( TabMon.Helpers.Host host, CounterLifecycleType lifecycleType, string categoryName, string counterName, string unitOfMeasurement, ISet |
Loads all Perfmon counters on the target host matching the given parameters.
|
Method | Description | |
---|---|---|
ExistsCategory ( string categoryName, string machineName ) : bool |
Indicates whether a performance counter category exists on a target machine.
|
|
ExistsCounter ( string counterName, string categoryName, string machineName ) : bool |
Indicates whether a performance counter exists on a target machine.
|
|
IsInstanceRequested ( string instanceName, ICollection |
Helper method that determines whether a given instance name matches a list of filter strings of instances that should be loaded. We treat the absence of filter strings as a wildcard match.
|
public static LoadInstancesForCounter ( TabMon.Helpers.Host host, CounterLifecycleType lifecycleType, string categoryName, string counterName, string unitOfMeasurement, ISet |
||
host | TabMon.Helpers.Host | The host to check counters on. |
lifecycleType | CounterLifecycleType | Indicates whether the counters should be loaded as persistent or ephemeral counters. |
categoryName | string | The counter category. |
counterName | string | The name of the counter. |
unitOfMeasurement | string | The unit of measurement that this counter reports in. This is a piece of metadata we add in. |
instanceFilters | ISet |
A collection of search terms to use to filter out instances that do not match. |
return | IList |