eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (EAGLE-815) Support alert template to generate human readable alert
Date Fri, 02 Dec 2016 11:05:58 GMT

     [ https://issues.apache.org/jira/browse/EAGLE-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hao Chen updated EAGLE-815:
---------------------------
    Attachment: policy_editor.png

> 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
>
>         Attachments: policy_editor.png
>
>
> 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)

Mime
View raw message