Click or drag to resize
IAnalyticsMonitorTrackFeatureValue Method
Register a value on a specific feature.

Namespace: EQATEC.Analytics.Monitor
Assembly: EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: (3.2.1)
void TrackFeatureValue(
	string featureName,
	long trackedValue


Type: SystemString
The name of the feature. If it is null or empty the request is ignored.
Type: SystemInt64
The value to track
While calls to TrackFeature(String) increments the use of a feature in the session a call to this methods will associate a given value with a named feature. Use this method to e.g. track the distribution of file sizes imported or the number of results registered. Tracking this distribution across all your application usage will give insights to what scenarios your applications are handling
The following shows an example of how you can track feature values in your application
class SomeClass
  private IAnalyticsMonitor m_monitor;
  public SomeClass(IAnalyticsMonitor monitor)
    m_monitor = monitor;
  public void Process()
    int filesProcessed = ProcessFiles();
    m_monitor.TrackFeatureValue("SomeClass.FilesProcessed", filesProcessed);
See Also