Merge pull request #354 from metamx/request-peer-metric

QueryResource: Store remote address in user7
This commit is contained in:
fjy 2014-01-10 13:39:01 -08:00
commit 6816de7518
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ public class QueryResource
.setUser4(query.getType())
.setUser5(query.getIntervals().get(0).toString())
.setUser6(String.valueOf(query.hasFilters()))
.setUser7(req.getRemoteAddr())
.setUser9(query.getDuration().toPeriod().toStandardMinutes().toString())
.build("request/time", requestTime)
);