/** * Create a new filter list based on the trace repo configuration. */ public TraceFilterList createFromRepoConfig(InsightConfig config) { return createFromList(config.getExcludeTraceByPath()); }
public static TraceFilter makeAntPathFilter(InsightConfig config) { return makeAntPathFilter(config.getExcludeTraceByPath()); }
@Override protected InsightConfig buildBeanFromProperties(Properties props) { InsightConfig config = new InsightConfig(props); for (String path : config.getExcludeTraceByPath()) { log.info("excluding path: " + path); } ServerName serverName=getServerName(); config.setThisServer(new ServerResource(serverName.makeKey(), serverName.getName())); return config; }