@@ -0,0 +1,888 @@
+package com.vipshop.microscope.trace.filter;%0A%0Aimport java.io.IOException;%0A%0Aimport javax.servlet.Filter;%0Aimport javax.servlet.FilterChain;%0Aimport javax.servlet.FilterConfig;%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.ServletRequest;%0Aimport javax.servlet.ServletResponse;%0Aimport javax.servlet.http.HttpServletRequest;%0A%0Aimport com.vipshop.microscope.trace.TraceFactory;%0A%0Apublic class TraceFilter implements Filter%7B%0A%0A%09@Override%0A%09public void init(FilterConfig filterConfig) throws ServletException %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09%0A%09%7D%0A%0A%09@Override%0A%09public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException %7B%0A%09%09TraceFactory.getHttpRequestHead((HttpServletRequest) request);%0A%09%09chain.doFilter(request, response);%0A%09%09%0A%09%7D%0A%0A%09@Override%0A%09public void destroy() %7B%0A%09%09// TODO Auto-generated method stub%0A%09%09%0A%09%7D%0A%0A%7D%0A

change filter