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 }; }
public DefaultTimerManagerTests(MetricCoreTestFixture fixture) { _fixture = fixture; _manager = _fixture.Managers.Timer; }