public void HistogramManager_Observe() { // Arrange var sut = CreateSUT(); var metric = RegistrateHistogram(); // Act sut.Observe(metric, 5.0); // Assert Assert.Equal(1, _collection.GetHistogram(metric).Metric.Count); }
public Histogram this[string name] { get { return(_metrics.GetHistogram(name)?.Metric); } }