Esempio n. 1
0
 public MetricsTimer(string name, IMeasureTimerMetrics timerMetrics, List <string> labelNames)
     : base(labelNames, new List <string>())
 {
     this.timerMetrics = timerMetrics;
     this.timerOptions = new TimerOptions
     {
         Name            = name,
         MeasurementUnit = Unit.Items,
         DurationUnit    = TimeUnit.Milliseconds,
         RateUnit        = TimeUnit.Milliseconds
     };
 }
Esempio n. 2
0
 public DefaultTimerManagerTests(MetricCoreTestFixture fixture)
 {
     _fixture = fixture;
     _manager = _fixture.Managers.Timer;
 }