Skip to content
Snippets Groups Projects
Commit f9f8cfe9 authored by Jürgen Walter's avatar Jürgen Walter
Browse files

minor

added output of services per host
parent 08c9e6d7
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ import java.util.concurrent.TimeUnit;
import kieker.analysis.IAnalysisController;
import kieker.analysis.exception.AnalysisConfigurationException;
import kieker.analysis.plugin.filter.AbstractFilterPlugin;
import kieker.common.configuration.Configuration;
import kieker.tools.traceAnalysis.filter.AbstractMessageTraceProcessingFilter;
import kieker.tools.traceAnalysis.filter.AbstractTraceAnalysisFilter;
......
......@@ -129,12 +129,17 @@ public abstract class AbstractResourceDemandFilter extends AbstractTraceAnalysis
log.error("No service execution logs could be found");
return;
}
log.info("Services: "+ timeSeriesMap.keySet());
HashMap<String, Double> resourceDemandMap = new HashMap<String, Double>();
for(String host:hosts){
log.info("Estimate resource demands on "+host);
StringBuffer sb = new StringBuffer();
for(String service: timeSeriesMap.keySet()){
if(service.endsWith(host)){
sb.append(service.replace("@"+host, "")+" | ");
}
}
log.info("Estimate resource demands on ["+host+ "]");
log.info("\tservices: |"+sb.toString());
/** Run LibReDE */
initAndRunLibrede(host);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment