mirror of https://github.com/apache/druid.git
Merge pull request #354 from metamx/request-peer-metric
QueryResource: Store remote address in user7
This commit is contained in:
commit
6816de7518
|
@ -128,6 +128,7 @@ public class QueryResource
|
||||||
.setUser4(query.getType())
|
.setUser4(query.getType())
|
||||||
.setUser5(query.getIntervals().get(0).toString())
|
.setUser5(query.getIntervals().get(0).toString())
|
||||||
.setUser6(String.valueOf(query.hasFilters()))
|
.setUser6(String.valueOf(query.hasFilters()))
|
||||||
|
.setUser7(req.getRemoteAddr())
|
||||||
.setUser9(query.getDuration().toPeriod().toStandardMinutes().toString())
|
.setUser9(query.getDuration().toPeriod().toStandardMinutes().toString())
|
||||||
.build("request/time", requestTime)
|
.build("request/time", requestTime)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue