@Override
    public String getEmailMessage(String pinpointUrl, String applicationName, String serviceType, String currentTime) {
        StringBuilder message = new StringBuilder();
        
        for (Entry<String, T> detected : detectedAgents.entrySet()) {
            String agentId = detected.getKey();
            message.append(String.format(" Value of agent(%s) is %s%s during the past 5 mins.(Threshold : %s%s)", agentId, detected.getValue(), unit, rule.getThreshold(), unit));
            message.append(String.format(INSPECTOR_LINK_FORMAT, pinpointUrl, applicationName, serviceType, currentTime, agentId, agentId));
            message.append(LINE_FEED);
        }
        
        return message.toString();
    }
@author minwoo.jung
@author Jongjin.Bae
batch/src/main/java/com/navercorp/pinpoint/batch/alarm/checker/AgentChecker.java