@Override
    public void check() {
        dataCollector.collect();

        Map<String, T> agents = getAgentValues();
        
        for (Entry<String, T> agent : agents.entrySet()) {
            if (decideResult(agent.getValue())) {
                detected = true;
                detectedAgents.put(agent.getKey(), agent.getValue());
            }
            
            logger.info("{} result is {} for agent({}). value is {}. (threshold : {}).", this.getClass().getSimpleName(), detected, agent.getKey(), agent.getValue(), rule.getThreshold());
        }
    }
@author minwoo.jung
@author Jongjin.Bae
batch/src/main/java/com/navercorp/pinpoint/batch/alarm/checker/AgentChecker.java