Ejemplo n.º 1
0
        public void Okanshimonitor_can_create_instance_with_tags()
        {
            PerformanceCounterMonitor p = OkanshiMonitor.PerformanceCounter(PerformanceCounterConfig.Build("Memory", "Available Bytes"), "name", new[] { new Tag("a", "b") });

            p.Should().NotBeNull();
        }
Ejemplo n.º 2
0
        public void Okanshimonitor_can_create_instance()
        {
            PerformanceCounterMonitor p = OkanshiMonitor.PerformanceCounter(PerformanceCounterConfig.Build("Memory", "Available Bytes"), "name");

            p.Should().NotBeNull();
        }