Search in sources :

Example 1 with PrometheusMetricSampler

use of com.linkedin.kafka.cruisecontrol.monitor.sampling.prometheus.PrometheusMetricSampler in project cruise-control by linkedin.

the class PrometheusMetricSamplerTest method setUp.

/**
 * Set up mocks
 */
@Before
public void setUp() {
    _prometheusAdapter = mock(PrometheusAdapter.class);
    _prometheusMetricSampler = new PrometheusMetricSampler();
    _prometheusQueryMap = new DefaultPrometheusQuerySupplier().get();
}
Also used : PrometheusMetricSampler(com.linkedin.kafka.cruisecontrol.monitor.sampling.prometheus.PrometheusMetricSampler) Before(org.junit.Before)

Aggregations

PrometheusMetricSampler (com.linkedin.kafka.cruisecontrol.monitor.sampling.prometheus.PrometheusMetricSampler)1 Before (org.junit.Before)1