Merge pull request #2805 from metamx/query-time-start

request log should reflect time the query was received
This commit is contained in:
Fangjin Yang 2016-04-12 09:44:42 -07:00
commit b486eff6b7
1 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ public class QueryResource
requestLogger.log(
new RequestLogLine(
new DateTime(),
new DateTime(start),
req.getRemoteAddr(),
theQuery,
new QueryStats(
@ -258,7 +258,7 @@ public class QueryResource
);
requestLogger.log(
new RequestLogLine(
new DateTime(),
new DateTime(start),
req.getRemoteAddr(),
query,
new QueryStats(
@ -305,7 +305,7 @@ public class QueryResource
);
requestLogger.log(
new RequestLogLine(
new DateTime(),
new DateTime(start),
req.getRemoteAddr(),
query,
new QueryStats(ImmutableMap.<String, Object>of(