use of io.datarouter.web.handler.HandlerMetrics in project datarouter by hotpads.
the class TraceFilter method init.
@Override
public void init(FilterConfig filterConfig) {
DatarouterInjector injector = getInjector(filterConfig.getServletContext());
serverName = injector.getInstance(ServerName.class);
trace2BufferForLocal = injector.getInstance(Trace2ForLocalFilterToMemoryBuffer.class);
trace2BufferForPublisher = injector.getInstance(Trace2ForPublisherFilterToMemoryBuffer.class);
traceSettings = injector.getInstance(DatarouterTraceFilterSettingRoot.class);
urlBuilder = injector.getInstance(TraceUrlBuilder.class);
currentSessionInfo = injector.getInstance(CurrentSessionInfo.class);
handlerMetrics = injector.getInstance(HandlerMetrics.class);
serviceName = injector.getInstance(ServiceName.class);
}
Aggregations