Merge pull request #66 from metamx/queryservlet-alert-remote-addr

QueryServlet: Add "host" (remote address) to alerts
This commit is contained in:
cheddar 2013-01-28 14:38:29 -08:00
commit 59dd9a8e18
1 changed files with 1 additions and 0 deletions

View File

@ -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()
) )
); );