mirror of https://github.com/apache/druid.git
Merge pull request #66 from metamx/queryservlet-alert-remote-addr
QueryServlet: Add "host" (remote address) to alerts
This commit is contained in:
commit
59dd9a8e18
|
@ -148,6 +148,7 @@ public class QueryServlet extends HttpServlet
|
||||||
ImmutableMap.<String, Object>builder()
|
ImmutableMap.<String, Object>builder()
|
||||||
.put("exception", e.toString())
|
.put("exception", e.toString())
|
||||||
.put("query", queryString)
|
.put("query", queryString)
|
||||||
|
.put("host", req.getRemoteAddr())
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue