protected final void addPerfMarkTags(ZuulMessage inMesg) {
        HttpRequestInfo req = null;
        if (inMesg instanceof HttpRequestInfo) {
            req = (HttpRequestInfo) inMesg;
        }
        if (inMesg instanceof HttpResponseMessage msg) {

            req = msg.getOutboundRequest();
            PerfMark.attachTag("statuscode", msg.getStatus());
        }
        if (req != null) {
            PerfMark.attachTag("path", req, HttpRequestInfo::getPath);
            PerfMark.attachTag("originalhost", req, HttpRequestInfo::getOriginalHost);
        }
        PerfMark.attachTag("uuid", inMesg, m -> m.getContext().getUUID());
    }
Subclasses of this class are supposed to be thread safe

Created by saroskar on 5/18/17.
zuul-core/src/main/java/com/netflix/zuul/netty/filter/BaseZuulFilterRunner.java