eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [1/4] incubator-eagle git commit: change dataSource to application
Date Thu, 17 Mar 2016 03:03:06 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/master 45f7c7067 -> c6b76b9d7


change dataSource to application


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/84d4723d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/84d4723d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/84d4723d

Branch: refs/heads/master
Commit: 84d4723d8263b1c16b54efff3da04f79373bc583
Parents: 124de31
Author: yonzhang <yonzhang2012@gmail.com>
Authored: Fri Mar 11 11:19:59 2016 -0800
Committer: yonzhang <yonzhang2012@gmail.com>
Committed: Fri Mar 11 11:19:59 2016 -0800

----------------------------------------------------------------------
 .../src/main/resources/hadoop-metric-init.sh        | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/84d4723d/eagle-hadoop-metric/src/main/resources/hadoop-metric-init.sh
----------------------------------------------------------------------
diff --git a/eagle-hadoop-metric/src/main/resources/hadoop-metric-init.sh b/eagle-hadoop-metric/src/main/resources/hadoop-metric-init.sh
index 6ba119c..1d77ece 100755
--- a/eagle-hadoop-metric/src/main/resources/hadoop-metric-init.sh
+++ b/eagle-hadoop-metric/src/main/resources/hadoop-metric-init.sh
@@ -66,7 +66,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix":"alertStream",
        "tags":{
-          "dataSource":"hadoopJmxMetricDataSource",
+          "application":"hadoopJmxMetricDataSource",
           "streamName":"hadoopJmxMetricEventStream"
        },
        "desc":"hadoop"
@@ -84,7 +84,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix":"alertExecutor",
        "tags":{
-          "dataSource":"hadoopJmxMetricDataSource",
+          "application":"hadoopJmxMetricDataSource",
           "alertExecutorId":"hadoopJmxMetricAlertExecutor",
           "streamName":"hadoopJmxMetricEventStream"
        },
@@ -103,7 +103,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix": "alertStreamSchema",
        "tags": {
-          "dataSource": "hadoopJmxMetricDataSource",
+          "application": "hadoopJmxMetricDataSource",
           "streamName": "hadoopJmxMetricEventStream",
           "attrName": "host"
        },
@@ -115,7 +115,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix": "alertStreamSchema",
        "tags": {
-          "dataSource": "hadoopJmxMetricDataSource",
+          "application": "hadoopJmxMetricDataSource",
           "streamName": "hadoopJmxMetricEventStream",
           "attrName": "timestamp"
        },
@@ -127,7 +127,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix": "alertStreamSchema",
        "tags": {
-          "dataSource": "hadoopJmxMetricDataSource",
+          "application": "hadoopJmxMetricDataSource",
           "streamName": "hadoopJmxMetricEventStream",
           "attrName": "metric"
        },
@@ -139,7 +139,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix": "alertStreamSchema",
        "tags": {
-          "dataSource": "hadoopJmxMetricDataSource",
+          "application": "hadoopJmxMetricDataSource",
           "streamName": "hadoopJmxMetricEventStream",
           "attrName": "component"
        },
@@ -151,7 +151,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix": "alertStreamSchema",
        "tags": {
-          "dataSource": "hadoopJmxMetricDataSource",
+          "application": "hadoopJmxMetricDataSource",
           "streamName": "hadoopJmxMetricEventStream",
           "attrName": "site"
        },
@@ -163,7 +163,7 @@ curl -u ${EAGLE_SERVICE_USER}:${EAGLE_SERVICE_PASSWD} -X POST -H 'Content-Type:a
     {
        "prefix": "alertStreamSchema",
        "tags": {
-          "dataSource": "hadoopJmxMetricDataSource",
+          "application": "hadoopJmxMetricDataSource",
           "streamName": "hadoopJmxMetricEventStream",
           "attrName": "value"
        },


Mime
View raw message