falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-666) Add Alerts for unrecoverable failures
Date Thu, 04 Sep 2014 19:34:52 GMT

    [ https://issues.apache.org/jira/browse/FALCON-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121800#comment-14121800
] 

Venkatesh Seetharam commented on FALCON-666:
--------------------------------------------

Look at GenericAlert code. The 2 alerts are:

{code}
    @Monitored(event = "rerun-queue-failed")
    public static String alertRerunConsumerFailed(
            @Dimension(value = "message") String message,
            @Dimension(value = "exception") Exception exception) {
        return "IGNORE";

    }

    @Monitored(event = "log-cleanup-service-failed")
    public static String alertLogCleanupServiceFailed(
            @Dimension(value = "message") String message,
            @Dimension(value = "exception") Throwable throwable) {
        return "IGNORE";
    }

    @Alert(event = "jms-message-consumer-failed")
    public static String alertJMSMessageConsumerFailed(
            @Dimension(value = "message") String message,
            @Dimension(value = "exception") Throwable throwable) {
        return "IGNORE";
    }
{code}

> Add Alerts for unrecoverable failures
> -------------------------------------
>
>                 Key: FALCON-666
>                 URL: https://issues.apache.org/jira/browse/FALCON-666
>             Project: Falcon
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 0.6
>            Reporter: Venkatesh Seetharam
>            Assignee: Venkatesh Seetharam
>            Priority: Critical
>              Labels: alerts
>             Fix For: 0.6
>
>         Attachments: FALCON-666.patch
>
>
> Defaults to logging alerts to a file that can be monitored.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message