Repository: ambari Updated Branches: refs/heads/trunk c0607621b -> b91322036
AMBARI-16190. Metrics support for Logsearch (Logfeeder) (Miklos Gergely via oleewere) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b9132203 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b9132203 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b9132203 Branch: refs/heads/trunk Commit: b913220368f086c2c01125fab8f8fc2bff8d5f3c Parents: c060762 Author: Miklos Gergely <[email protected]> Authored: Mon May 2 19:09:24 2016 +0200 Committer: oleewere <[email protected]> Committed: Mon May 2 19:09:24 2016 +0200 ---------------------------------------------------------------------- .../common-services/LOGSEARCH/0.5.0/alerts.json | 1 + .../LOGSEARCH/0.5.0/metrics.json | 53 ++++++++++++++++++++ 2 files changed, 54 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b9132203/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/alerts.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/alerts.json b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/alerts.json index 6749c95..d58fdf8 100644 --- a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/alerts.json +++ b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/alerts.json @@ -63,6 +63,7 @@ "description": "This host-level alert is triggered if the Solr index size is over a limit.", "interval": 1, "scope": "ANY", + "enabled" : false, "source": { "parameters" : [ { http://git-wip-us.apache.org/repos/asf/ambari/blob/b9132203/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/metrics.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/metrics.json b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/metrics.json new file mode 100644 index 0000000..7ffb77e --- /dev/null +++ b/ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/metrics.json @@ -0,0 +1,53 @@ +{ + "LOGSEARCH_LOGFEEDER": { + "Component": [ + { + "type": "ganglia", + "metrics": { + "default": { + "metrics/filter/error/grok": { + "metric": "filter.error.grok", + "pointInTime": false, + "temporal": true + }, + "metrics/filter/error/truncate": { + "metric": "filter.error.truncate", + "pointInTime": false, + "temporal": true + }, + "metrics/input/files/read_lines": { + "metric": "input.files.read_lines", + "pointInTime": false, + "temporal": true + }, + "metrics/input/files/read_bytes": { + "metric": "input.files.read_bytes", + "pointInTime": false, + "temporal": true + }, + "metrics/output/kafka/write_logs": { + "metric": "output.kafka.write_logs", + "pointInTime": false, + "temporal": true + }, + "metrics/output/kafka/write_bytes": { + "metric": "output.kafka.write_bytes", + "pointInTime": false, + "temporal": true + }, + "metrics/output/solr/write_logs": { + "metric": "output.solr.write_logs", + "pointInTime": false, + "temporal": true + }, + "metrics/output/solr/write_bytes": { + "metric": "output.solr.write_bytes", + "pointInTime": false, + "temporal": true + } + } + } + } + ] + } +} \ No newline at end of file
