mirror of https://github.com/apache/druid.git
QueryServlet: Add "host" (remote address) to alerts
This commit is contained in:
parent
ec034ddef4
commit
37417cf22f
|
@ -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