public void GaugeManager_Increase_DefaultValue() { // Arrange var sut = CreateSUT(); var metric = RegistrateGauge(); // Act sut.Increase(metric); // Assert Assert.Equal(1.0, _collection.GetGauge(metric).Metric.Value); }
public Gauge this[string name] { get { return _metrics.GetGauge(name)?.Metric; } }