eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhao, Qingwen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (EAGLE-1037) Add alertDeduplication configurations on Eagle UI
Date Wed, 07 Jun 2017 06:37:18 GMT

     [ 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)

Mime
View raw message