Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EC0AE200CA4 for ; Wed, 7 Jun 2017 08:37:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EAC79160BD0; Wed, 7 Jun 2017 06:37:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1AA56160BB6 for ; Wed, 7 Jun 2017 08:37:20 +0200 (CEST) Received: (qmail 44683 invoked by uid 500); 7 Jun 2017 06:37:20 -0000 Mailing-List: contact issues-help@eagle.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@eagle.apache.org Delivered-To: mailing list issues@eagle.apache.org Received: (qmail 44674 invoked by uid 99); 7 Jun 2017 06:37:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2017 06:37:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DF345D00E7 for ; Wed, 7 Jun 2017 06:37:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Zwct2WzqzmlU for ; Wed, 7 Jun 2017 06:37:19 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D2FA75F6BF for ; Wed, 7 Jun 2017 06:37:18 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 61601E0665 for ; Wed, 7 Jun 2017 06:37:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 177F221B51 for ; Wed, 7 Jun 2017 06:37:18 +0000 (UTC) Date: Wed, 7 Jun 2017 06:37:18 +0000 (UTC) From: "Zhao, Qingwen (JIRA)" To: issues@eagle.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (EAGLE-1037) Add alertDeduplication configurations on Eagle UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Jun 2017 06:37:22 -0000 [ https://issues.apache.org/jira/browse/EAGLE-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhao, Qingwen updated EAGLE-1037: --------------------------------- Description: Add alertDeduplication configurations on Eagle UI Here is the sample policy {code} { "name": "capacityUsage", "description": "Policy for HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT", "inputStreams": [ "HADOOP_JMX_METRIC_STREAM_SANDBOX" ], "outputStreams": [ "HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT" ], "siteId": "sandbox", "definition": { "type": "siddhi", "value": "from HADOOP_JMX_METRIC_STREAM_SANDBOX[metric == \"hadoop.namenode.fsnamesystemstate.capacityusage\" and convert(value, \"long\") > 90]select site, host, component, metric, convert(value, \"long\") as value, timestamp insert into HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT;", "handlerClass": null, "properties": {}, "inputStreams": [], "outputStreams": [] }, "stateDefinition": null, "policyStatus": "ENABLED", "alertDefinition": { "templateType": "TEXT", "subject": "$site capacity exceeds 90%", "body": "$site capacity exceeds 90%", "severity": "WARNING", "category": "HDFS" }, "alertDeduplications": [ { "outputStreamId": "HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT", "dedupIntervalMin": "1", "dedupFields": [ "site", "component", "host", "metric" ] } ], "partitionSpec": [ { "streamId": "HADOOP_JMX_METRIC_STREAM_SANDBOX", "type": "SHUFFLE", "columns": [], "sortSpec": null } ], "dedicated": false, "parallelismHint": 5, "alertSeverity": "WARNING", "alertCategory": "HDFS" } {code} was: Add alertDeduplication configurations on Eagle UI Here is the Sample {code} { "name": "capacityUsage", "description": "Policy for HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT", "inputStreams": [ "HADOOP_JMX_METRIC_STREAM_SANDBOX" ], "outputStreams": [ "HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT" ], "siteId": "sandbox", "definition": { "type": "siddhi", "value": "from HADOOP_JMX_METRIC_STREAM_SANDBOX[metric == \"hadoop.namenode.fsnamesystemstate.capacityusage\" and convert(value, \"long\") > 90]select site, host, component, metric, convert(value, \"long\") as value, timestamp insert into HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT;", "handlerClass": null, "properties": {}, "inputStreams": [], "outputStreams": [] }, "stateDefinition": null, "policyStatus": "ENABLED", "alertDefinition": { "templateType": "TEXT", "subject": "$site capacity exceeds 90%", "body": "$site capacity exceeds 90%", "severity": "WARNING", "category": "HDFS" }, "alertDeduplications": [ { "outputStreamId": "HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT", "dedupIntervalMin": "1", "dedupFields": [ "site", "component", "host", "metric" ] } ], "partitionSpec": [ { "streamId": "HADOOP_JMX_METRIC_STREAM_SANDBOX", "type": "SHUFFLE", "columns": [], "sortSpec": null } ], "dedicated": false, "parallelismHint": 5, "alertSeverity": "WARNING", "alertCategory": "HDFS" } {code} > Add alertDeduplication configurations on Eagle UI > ------------------------------------------------- > > Key: EAGLE-1037 > URL: https://issues.apache.org/jira/browse/EAGLE-1037 > Project: Eagle > Issue Type: Sub-task > Affects Versions: v0.6.0 > Reporter: Zhao, Qingwen > Assignee: Jilin, Jiang > Priority: Critical > > Add alertDeduplication configurations on Eagle UI > Here is the sample policy > {code} > { > "name": "capacityUsage", > "description": "Policy for HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT", > "inputStreams": [ > "HADOOP_JMX_METRIC_STREAM_SANDBOX" > ], > "outputStreams": [ > "HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT" > ], > "siteId": "sandbox", > "definition": { > "type": "siddhi", > "value": "from HADOOP_JMX_METRIC_STREAM_SANDBOX[metric == \"hadoop.namenode.fsnamesystemstate.capacityusage\" and convert(value, \"long\") > 90]select site, host, component, metric, convert(value, \"long\") as value, timestamp insert into HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT;", > "handlerClass": null, > "properties": {}, > "inputStreams": [], > "outputStreams": [] > }, > "stateDefinition": null, > "policyStatus": "ENABLED", > "alertDefinition": { > "templateType": "TEXT", > "subject": "$site capacity exceeds 90%", > "body": "$site capacity exceeds 90%", > "severity": "WARNING", > "category": "HDFS" > }, > "alertDeduplications": [ > { > "outputStreamId": "HADOOP_JMX_METRIC_STREAM_SANDBOX_CAPACITY_USAGE_OUT", > "dedupIntervalMin": "1", > "dedupFields": [ > "site", > "component", > "host", > "metric" > ] > } > ], > "partitionSpec": [ > { > "streamId": "HADOOP_JMX_METRIC_STREAM_SANDBOX", > "type": "SHUFFLE", > "columns": [], > "sortSpec": null > } > ], > "dedicated": false, > "parallelismHint": 5, > "alertSeverity": "WARNING", > "alertCategory": "HDFS" > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)