PerformanceMonitorBaseAddCounter(String, String, String, String, String) Method

Adds a PerformanceCounter to be monitored.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.164 -- Release Build+66e15837b98af4c1fb6071887ad7ac5cf1ff0b00
public void AddCounter(
	string categoryName,
	string counterName,
	string instanceName,
	string aliasName,
	string valueUnit
)

Parameters

categoryName  String
The name of the performance counter category (performance object) with which this performance counter is associated.
counterName  String
The name of the performance counter.
instanceName  String
The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
aliasName  String
The alias name for the PerformanceCounter object.
valueUnit  String
The measurement unit for the statistical values of the PerformanceCounter object.

See Also