예제 #1
0
        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);
        }
예제 #2
0
 public Gauge this[string name] { get { return _metrics.GetGauge(name)?.Metric; } }