in spectator-ext-ipc/src/main/java/com/netflix/spectator/ipc/IpcLogEntry.java [590:604]
public IpcLogEntry addResponseHeader(String name, String value) {
if (serverAsg == null && name.equalsIgnoreCase(NetflixHeader.ASG.headerName())) {
withServerAsg(value);
} else if (serverZone == null && name.equalsIgnoreCase(NetflixHeader.Zone.headerName())) {
withServerZone(value);
} else if (serverNode == null && name.equalsIgnoreCase(NetflixHeader.Node.headerName())) {
withServerNode(value);
} else if (endpoint == null && name.equalsIgnoreCase(NetflixHeader.Endpoint.headerName())) {
withEndpoint(value);
} else if (responseContentLength < 0L && CONTENT_LENGTH.equalsIgnoreCase(name)) {
withResponseContentLength(parseContentLength(value));
}
this.responseHeaders.add(new Header(name, value));
return this;
}