C# Class TabMon.CounterConfig.PerfmonCounterConfigReader

Handles parsing & loading the Perfmon counters defined within a Counters.config file.
Inheritance: ICounterConfigReader
ファイルを表示 Open project: tableau/TabMon Class Usage Examples

Public Methods

Method Description
LoadCounters ( XmlNode root, TabMon.Helpers.Host host, CounterLifecycleType lifeCycleTypeToLoad ) : ICollection

Parses & loads all Perfmon counters for the given host using the XML tree.

Private Methods

Method Description
GetConfiguredInstanceLifecycleType ( XmlNode instanceNode ) : CounterLifecycleType

Method Details

LoadCounters() public method

Parses & loads all Perfmon counters for the given host using the XML tree.
public LoadCounters ( XmlNode root, TabMon.Helpers.Host host, CounterLifecycleType lifeCycleTypeToLoad ) : ICollection
root System.Xml.XmlNode The root Perfmon counters config node.
host TabMon.Helpers.Host The host to load counters for.
lifeCycleTypeToLoad CounterLifecycleType A filter that indicates whether ephemeral or persistent counters should be loaded.
return ICollection