public void can_mark() { var metricName = "test_mark_meter"; var options = new MeterOptions { Name = metricName }; _manager.Mark(options); var data = _fixture.Registry.GetData(new NoOpMetricsFilter()); data.Contexts.Single().Meters.Count(x => x.Name == metricName).Should().Be(1); }
public void Increment(long amount) { _meters.Mark(_options, _tags, amount); }