public void setup_once_before_all_tests() { _logger = new StubLogger <LoggingMetricSink>(); var loggingMetricSink = new LoggingMetricSink(_logger); var metric = new Counter { Name = "foo" }; loggingMetricSink.Push(metric); }
public void setup_once_before_all_tests() { _logger = new StubLogger <LoggingMetricSink>(); var loggingMetricSink = new LoggingMetricSink(_logger); var metric = new Counter { Name = "foo", Dimensions = new Dictionary <string, object> { { "a", 1 }, { "b", 2 } } }; loggingMetricSink.Push(metric); }