mirror of https://github.com/apache/druid.git
Fixes #346
This commit is contained in:
parent
2b46c1d292
commit
3544b7ec4a
|
@ -20,6 +20,7 @@
|
|||
package io.druid.segment.realtime;
|
||||
|
||||
import com.google.common.collect.Maps;
|
||||
import com.google.inject.Inject;
|
||||
import com.metamx.emitter.service.ServiceEmitter;
|
||||
import com.metamx.emitter.service.ServiceMetricEvent;
|
||||
import com.metamx.metrics.AbstractMonitor;
|
||||
|
@ -34,6 +35,7 @@ public class RealtimeMetricsMonitor extends AbstractMonitor
|
|||
private final Map<FireDepartment, FireDepartmentMetrics> previousValues;
|
||||
private final List<FireDepartment> fireDepartments;
|
||||
|
||||
@Inject
|
||||
public RealtimeMetricsMonitor(List<FireDepartment> fireDepartments)
|
||||
{
|
||||
this.fireDepartments = fireDepartments;
|
||||
|
|
Loading…
Reference in New Issue