Example #1
0
 public virtual void CountersCreated(EnterpriseCounters counters)
 {
     // save them...
     _numServiceObjectsCounter = counters.Counters.Find(NumServiceObjectsCounterName).Counter;
     _getEntitySetRateCounter  = counters.Counters.Find(GetEntitySetRateCounterName).Counter;
     _getAllRateCounter        = counters.Counters.Find(GetAllRateCounterName).Counter;
     _getByIdRateCounter       = counters.Counters.Find(GetByIdRateCounterName).Counter;
 }
Example #2
0
 public virtual void CountersCreated(EnterpriseCounters counters)
 {
     // save them...
     _numServiceObjectsCounter = counters.Counters.Find(NumServiceObjectsCounterName).Counter;
     _getEntitySetRateCounter = counters.Counters.Find(GetEntitySetRateCounterName).Counter;
     _getAllRateCounter = counters.Counters.Find(GetAllRateCounterName).Counter;
     _getByIdRateCounter = counters.Counters.Find(GetByIdRateCounterName).Counter;
 }
Example #3
0
 public virtual void CreateCounters(EnterpriseCounters counters)
 {
     // create the counters...
     counters.Counters.Add(new EnterpriseCounter(NumServiceObjectsCounterName, "Number of open service objects", PerformanceCounterType.NumberOfItems32));
     counters.Counters.Add(new EnterpriseCounter(GetEntitySetRateCounterName, "Number of GetEntitySet calls per second", PerformanceCounterType.RateOfCountsPerSecond32));
     counters.Counters.Add(new EnterpriseCounter(GetAllRateCounterName, "Number of GetAll calls per second", PerformanceCounterType.RateOfCountsPerSecond32));
     counters.Counters.Add(new EnterpriseCounter(GetByIdRateCounterName, "Number of GetById calls per second", PerformanceCounterType.RateOfCountsPerSecond32));
 }
Example #4
0
 public virtual void CreateCounters(EnterpriseCounters counters)
 {
     // create the counters...
     counters.Counters.Add(new EnterpriseCounter(NumServiceObjectsCounterName, "Number of open service objects", PerformanceCounterType.NumberOfItems32));
     counters.Counters.Add(new EnterpriseCounter(GetEntitySetRateCounterName, "Number of GetEntitySet calls per second", PerformanceCounterType.RateOfCountsPerSecond32));
     counters.Counters.Add(new EnterpriseCounter(GetAllRateCounterName, "Number of GetAll calls per second", PerformanceCounterType.RateOfCountsPerSecond32));
     counters.Counters.Add(new EnterpriseCounter(GetByIdRateCounterName, "Number of GetById calls per second", PerformanceCounterType.RateOfCountsPerSecond32));
 }