diff --git a/indexing-service/src/main/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactory.java b/indexing-service/src/main/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactory.java index ca496d346ba..94adbc0f4f1 100644 --- a/indexing-service/src/main/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactory.java +++ b/indexing-service/src/main/java/io/druid/indexing/firehose/IngestSegmentFirehoseFactory.java @@ -177,7 +177,7 @@ public class IngestSegmentFirehoseFactory implements FirehoseFactory metricsSet = new HashSet<>(); for (TimelineObjectHolder timelineObjectHolder : timeLineSegments) { - metricsSet.addAll(timelineObjectHolder.getObject().getChunk(0).getObject().getDimensions()); + metricsSet.addAll(timelineObjectHolder.getObject().getChunk(0).getObject().getMetrics()); } metricsList = Lists.newArrayList(metricsSet); }