|
|
|
@ -34,7 +34,7 @@ public class HighLatencyNotification implements Notification { |
|
|
|
StringBuilder text = new StringBuilder(); |
|
|
|
text.append("Some of the latencies are higher than ").append(thresholdMs).append(" ms:\n"); |
|
|
|
highLatencies.forEach(latency -> { |
|
|
|
text.append(String.format("[%s] %s\n", latency.getKey(), latency.getFormattedValue())); |
|
|
|
text.append(String.format("[%s] *%s*\n", latency.getKey(), latency.getFormattedValue())); |
|
|
|
}); |
|
|
|
return text.toString(); |
|
|
|
} |
|
|
|
|