This is an automated email from the ASF dual-hosted git repository.

akshayrai09 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 753801a  [TE] Dispaly alert description in alert emails (#4292)
753801a is described below

commit 753801a301de25c57a98de2c1e0bd76a290a3942
Author: Akshay Rai <[email protected]>
AuthorDate: Tue Jun 11 10:18:05 2019 -0700

    [TE] Dispaly alert description in alert emails (#4292)
---
 .../org/apache/pinot/thirdeye/detector/holiday-anomaly-report.ftl      | 3 +++
 .../resources/test-multiple-anomalies-email-content-formatter.html     | 3 +++
 2 files changed, 6 insertions(+)

diff --git 
a/thirdeye/thirdeye-pinot/src/main/resources/org/apache/pinot/thirdeye/detector/holiday-anomaly-report.ftl
 
b/thirdeye/thirdeye-pinot/src/main/resources/org/apache/pinot/thirdeye/detector/holiday-anomaly-report.ftl
index 66d44a2..3050b06 100644
--- 
a/thirdeye/thirdeye-pinot/src/main/resources/org/apache/pinot/thirdeye/detector/holiday-anomaly-report.ftl
+++ 
b/thirdeye/thirdeye-pinot/src/main/resources/org/apache/pinot/thirdeye/detector/holiday-anomaly-report.ftl
@@ -82,6 +82,9 @@
                   <span style="color: #606060; font-size: 16px; 
text-decoration: none; display:inline-block; vertical-align: middle; width: 
77%; white-space: nowrap; overflow: hidden; text-overflow: 
ellipsis;">${detectionName}</span>
                   <a 
href="${dashboardHost}/app/#/manage/explore/${functionToId[detectionName]?string.computer}"
 target="blank" style="text-decoration: none; color: #0B5EA1; 
display:inline-block; vertical-align: middle;">(Edit Settings)</a>
                 </p>
+                <p>
+                  <span style="color: #606060; font-size: 13px; 
text-decoration: none; display:inline-block; vertical-align: middle; width: 
77%; white-space: wrap;">${description}</span>
+                </p>
               </#if>
 
               <!-- List all the anomalies under this detection -->
diff --git 
a/thirdeye/thirdeye-pinot/src/test/resources/test-multiple-anomalies-email-content-formatter.html
 
b/thirdeye/thirdeye-pinot/src/test/resources/test-multiple-anomalies-email-content-formatter.html
index fd87f82..06e0e09 100644
--- 
a/thirdeye/thirdeye-pinot/src/test/resources/test-multiple-anomalies-email-content-formatter.html
+++ 
b/thirdeye/thirdeye-pinot/src/test/resources/test-multiple-anomalies-email-content-formatter.html
@@ -41,6 +41,9 @@
               <span style="color: #606060; font-size: 16px; text-decoration: 
none; display:inline-block; vertical-align: middle; width: 77%; white-space: 
nowrap; overflow: hidden; text-overflow: ellipsis;">integration test function 
1</span>
               <a href="http://localhost:8080/dashboard/app/#/manage/explore/1"; 
target="blank" style="text-decoration: none; color: #0B5EA1; 
display:inline-block; vertical-align: middle;">(Edit Settings)</a>
             </p>
+            <p>
+              <span style="color: #606060; font-size: 13px; text-decoration: 
none; display:inline-block; vertical-align: middle; width: 77%; white-space: 
wrap;"></span>
+            </p>
             <!-- List all the anomalies under this detection -->
             <table border="0" width="100%" align="center" style="width:100%; 
padding:0; margin:0; border-collapse: collapse;text-align:left;">
               <tr style="text-align:center; background-color: #F6F8FA; 
border-top: 2px solid #C7D1D8; border-bottom: 2px solid #C7D1D8;">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to