You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@eagle.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/02 11:02:58 UTC
[jira] [Commented] (EAGLE-815) Support alert template to generate
human readable alert
[ https://issues.apache.org/jira/browse/EAGLE-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15714810#comment-15714810 ]
ASF GitHub Bot commented on EAGLE-815:
--------------------------------------
GitHub user haoch opened a pull request:
https://github.com/apache/incubator-eagle/pull/711
[EAGLE-815] Add eagle alert template, severity and category support
Support alert template to generate human readable message
* Support to define alert template in PolicyDefinition
* Support to generate alert event (subject&body, instead of using AlertPublishEvent for less changes) based on policy'template and alert event as context
* Dynamically load policy metadata in alert publisher
* Integration VelocityAlertTemplateEngine in alertPublisherBolt with metadata lifecycle
* Support persist alert message in AlertEntity as immutable field.
* Refactor alert mail template using https://github.com/mailgun/transactional-email-templates
* Refactor Alert Template to become simple and human-readable.
* Add Alert Category
* Add Alert Severity (notification template color will change according to different severiy): UNKNOWN (blue), OK(green), WARNING (orange), CRITICAL/FATAL (dark black)
* Add Alert Subject &Body Template Engine, for example:
* Sample Subject “RESOURCEMANAGER JMX Metric Alert” is defined by “$component.toUpperCase() JMX Metric Alert”
* Sample Body is defined as “A alert happened on <strong>$component</strong> (<strong>$host</strong>) of cluster <strong>$site</strong> at <strong>$ALERT_TIME</strong> because <span style="color: red">$metric = $value</span>”
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/haoch/incubator-eagle EAGLE-815
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-eagle/pull/711.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #711
----
commit 887b488b7a8a2dae5478a83df83aa51b8be70d5f
Author: Hao Chen <ha...@apache.org>
Date: 2016-11-30T07:41:46Z
Implement AlertTemplateEngine framework and VelocityAlertTemplateEngine
commit 008a4b3611579c59ab517020b9aac5f88d528f17
Author: Hao Chen <ha...@apache.org>
Date: 2016-11-30T09:35:30Z
Add light skill alert template
commit d0a808483312508f23b9facd7cafd815a09ea612
Author: Hao Chen <ha...@apache.org>
Date: 2016-11-30T10:03:26Z
Merge branch 'master' of https://github.com/apache/incubator-eagle into EAGLE-815
commit 58c735da4620ec6fa313d7938d21e3a8077d16d2
Author: Hao Chen <ha...@apache.org>
Date: 2016-11-30T10:49:54Z
Refactor VelocityAlertTemplateEngine to render from AlertStreamEvent to AlertPublishEvent
commit 274ccc691b990c1da9d10dc81cfbf89ddf814b0a
Author: Hao Chen <ha...@apache.org>
Date: 2016-11-30T12:46:56Z
Integrate AlertTemplateEngine with AlertPublisherBolt lifecycle
commit 0ca77f12096e7f62bf23799c543a520a241d4d6a
Author: Hao Chen <ha...@apache.org>
Date: 2016-11-30T12:50:23Z
Merge branch 'EAGLE-815' of https://github.com/haoch/incubator-eagle into EAGLE-815
commit e74c3303f7b1ecff13a3fd88bfc7d336405cd069
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T01:46:32Z
Refactor AlertStreamFilter and AlertEntityStore
commit 7adac5839af1b9139e5775a4006c2cd505f0b229
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T02:14:09Z
Inject alert subject and body in ALERT_DEFAULT.vm template
commit 4f8c2c106c0d7a2e0133fb012d5fd202d158332b
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T03:12:39Z
Add ALERT_LIGHT_TEMPLATE as default alert notification template
commit 005926202db25400b9b0ae652914f930b042a94e
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T03:44:52Z
Inject siteId in alert template
commit 0d272896174f93f2547d619655ec9c806bb83f7a
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T10:34:04Z
Fix application config descriptor of HADOOP_JMX_METRIC_APP
commit 3bd6a1de31eeeb20a9bafb7772052d605d597110
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T12:37:32Z
Fix KafkaStreamProvider bug for blank config value included by EAGLE-806
commit 642605f03556d4a94a9ae3584108293bbed67662
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-01T13:18:15Z
Fix policy definition register in VelocityAlertTemplateEngine
commit d27b06988ae86ad5803f2dc2781f32e3e98c4ee8
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-02T02:09:42Z
Fix default alert template
commit 65c067fbe607189e5f5d61d3acf0da322dd18f91
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-02T08:15:21Z
Refactor mail alert template to adapt to windows
commit 35c02ec66e4284378c5e0f87707f72f64523e6fa
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-02T08:31:09Z
Refactor Severity color
commit c461c4b691d1a9872afc1d10494719ba7247c1be
Author: Hao Chen <ha...@apache.org>
Date: 2016-12-02T08:37:48Z
Add category and severity in policy and alert persistence plugin
----
> Support alert template to generate human readable alert
> --------------------------------------------------------
>
> Key: EAGLE-815
> URL: https://issues.apache.org/jira/browse/EAGLE-815
> Project: Eagle
> Issue Type: New Feature
> Affects Versions: v0.5.0
> Reporter: Hao Chen
> Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> Support alert template to generate human readable message
> * [done] Support to define alert template in PolicyDefinition
> * [done] Support to generate alert event (subject&body, instead of using AlertPublishEvent for less changes) based on policy'template and alert event as context
> * [done] Dynamically load policy metadata in alert publisher
> * [done] Integration VelocityAlertTemplateEngine in alertPublisherBolt with metadata lifecycle
> * [done] Support persist alert message in AlertEntity as immutable field.
> * [done] Refactor alert mail template using https://github.com/mailgun/transactional-email-templates
> * Refactor Alert Template to become simple and human-readable.
> * Add Alert Category
> * Add Alert Severity (notification template color will change according to different severiy): UNKNOWN (blue), OK(green), WARNING (orange), CRITICAL/FATAL (dark black)
> * Add Alert Subject &Body Template Engine, for example:
> * Sample Subject “RESOURCEMANAGER JMX Metric Alert” is defined by “$component.toUpperCase() JMX Metric Alert”
> * Sample Body is defined as “A alert happened on <strong>$component</strong> (<strong>$host</strong>) of cluster <strong>$site</strong> at <strong>$ALERT_TIME</strong> because <span style="color: red">$metric = $value</span>”
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)