diff --git a/baseapp/pom.xml b/baseapp/pom.xml index 319ca002..0eb0ba6d 100644 --- a/baseapp/pom.xml +++ b/baseapp/pom.xml @@ -7,7 +7,7 @@ com.lyft.data prestogateway-parent - 1.6.4 + 1.6.5 ../ diff --git a/gateway-ha/pom.xml b/gateway-ha/pom.xml index d63fef3e..7f8e66cb 100644 --- a/gateway-ha/pom.xml +++ b/gateway-ha/pom.xml @@ -8,7 +8,7 @@ com.lyft.data prestogateway-parent - 1.6.4 + 1.6.5 ../ diff --git a/gateway-ha/src/main/java/com/lyft/data/gateway/ha/ActiveClusterMonitor.java b/gateway-ha/src/main/java/com/lyft/data/gateway/ha/ActiveClusterMonitor.java index 8ee5b0a2..54d27cdc 100644 --- a/gateway-ha/src/main/java/com/lyft/data/gateway/ha/ActiveClusterMonitor.java +++ b/gateway-ha/src/main/java/com/lyft/data/gateway/ha/ActiveClusterMonitor.java @@ -81,15 +81,19 @@ public void start() { } private void notifyUnhealthyCluster(ClusterStats clusterStats) { - emailNotifier.sendNotification("Cluster unhealthy", clusterStats.toString()); + emailNotifier.sendNotification(String.format("%s - Cluster unhealthy", + clusterStats.getClusterId()), + clusterStats.toString()); } private void notifyForTooManyQueuedQueries(ClusterStats clusterStats) { - emailNotifier.sendNotification("Too many queued queries", clusterStats.toString()); + emailNotifier.sendNotification(String.format("%s - Too many queued queries", + clusterStats.toString()), clusterStats.toString()); } private void notifyForNoWorkers(ClusterStats clusterStats) { - emailNotifier.sendNotification("Number of workers", clusterStats.toString()); + emailNotifier.sendNotification(String.format("%s - Number of workers", + clusterStats.getClusterId()), clusterStats.toString()); } private ClusterStats getPrestoClusterStats(ProxyBackendConfiguration backend) { diff --git a/pom.xml b/pom.xml index d3a5b262..ee5ecb59 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ prestogateway-parent prestogateway-parent pom - 1.6.4 + 1.6.5 1.8 diff --git a/proxyserver/pom.xml b/proxyserver/pom.xml index 36fcfded..848bf98d 100644 --- a/proxyserver/pom.xml +++ b/proxyserver/pom.xml @@ -8,7 +8,7 @@ com.lyft.data prestogateway-parent - 1.6.4 + 1.6.5 ../