textOnly = false;
}
try {
AgentDataAggregator ada = AgentDataAggregator.getInstance();
AgentDataProvider adp = AgentDataProvider.getInstance();
Map<String, String> rulesMap = adp.aggregationMetadatas;
//20130610: fix null
if(aggrRule==null){
aggrRule=VarUtils.AGGREGATION_DEFAULT_METRIC;
}
patternStr = rulesMap.get( (aggrRule==null || aggrRule.length()==0 ) ?VarUtils.AGGREGATION_DEFAULT_METRIC:aggrRule);
AggregateData aggregateData = ada.aggregateMetricsWithGroupingNew(
nodeGroupType, agentCommandType, timeStamp, rawDataSourceType, patternStr);
String pieDataStr = null;
boolean humanReadFriendly = false;