From c72438ead03adceeec96346fb5e2d3d50a3c1d0d Mon Sep 17 00:00:00 2001 From: Slim Bouguerra Date: Wed, 2 Mar 2016 09:07:32 -0600 Subject: [PATCH] override metric name --- .../io/druid/segment/realtime/plumber/RealtimePlumber.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java b/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java index a4a00a4fdb8..c99ff998793 100644 --- a/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java +++ b/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumber.java @@ -363,7 +363,9 @@ public class RealtimePlumber implements Plumber } } ) - ) + ), + "query/segmentAndCache/time", + ImmutableMap.of("segment", theSink.getSegment().getIdentifier()) ).withWaitMeasuredFromNow(), new SpecificSegmentSpec( descriptor