Search in sources :

Example 1 with TotalThreadMetric

use of com.navercorp.pinpoint.profiler.monitor.metric.totalthread.TotalThreadMetric in project pinpoint by naver.

the class TotalThreadMetricProviderTest method get.

@Test
public void get() {
    Provider<TotalThreadMetric> provider = new TotalThreadMetricProvider();
    TotalThreadMetric totalThreadMetric = provider.get();
    TotalThreadMetricSnapshot snapshot = totalThreadMetric.getSnapshot();
    Assert.assertNotEquals(snapshot.getTotalThreadCount(), 0);
}
Also used : TotalThreadMetric(com.navercorp.pinpoint.profiler.monitor.metric.totalthread.TotalThreadMetric) TotalThreadMetricSnapshot(com.navercorp.pinpoint.profiler.monitor.metric.totalthread.TotalThreadMetricSnapshot) Test(org.junit.Test)

Aggregations

TotalThreadMetric (com.navercorp.pinpoint.profiler.monitor.metric.totalthread.TotalThreadMetric)1 TotalThreadMetricSnapshot (com.navercorp.pinpoint.profiler.monitor.metric.totalthread.TotalThreadMetricSnapshot)1 Test (org.junit.Test)1