mirror of https://github.com/apache/druid.git
QueryServlet: Send alerts with remote address as "peer" instead of "host"
"host" is used by the emitter. Both end up being emitted, which can be confusing.
This commit is contained in:
parent
d1634fe5ef
commit
26dca5630f
|
@ -150,7 +150,7 @@ public class QueryServlet extends HttpServlet
|
|||
ImmutableMap.<String, Object>builder()
|
||||
.put("exception", e.toString())
|
||||
.put("query", queryString)
|
||||
.put("host", req.getRemoteAddr())
|
||||
.put("peer", req.getRemoteAddr())
|
||||
.build()
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue