Repository: ambari
Updated Branches:
  refs/heads/branch-metrics-dev c20904e41 -> 25fd25490
  refs/heads/trunk a6b334f28 -> c7c8c6d94


AMBARI-7681. Add Metrics Serivce to common services stack. (mpapirkovskyy)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/25fd2549
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/25fd2549
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/25fd2549

Branch: refs/heads/branch-metrics-dev
Commit: 25fd254904ab49ab24edd1dd2b54e8f4ba0ace98
Parents: c20904e
Author: Myroslav Papirkovskyy <[email protected]>
Authored: Mon Nov 17 23:39:35 2014 +0200
Committer: Myroslav Papirkovskyy <[email protected]>
Committed: Thu Dec 11 23:37:53 2014 +0200

----------------------------------------------------------------------
 .../AMS/package/templates/metric-monitor.ini.j2 | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/25fd2549/ambari-server/src/main/resources/stacks/HDP/2.2/services/AMS/package/templates/metric-monitor.ini.j2
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.2/services/AMS/package/templates/metric-monitor.ini.j2
 
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/AMS/package/templates/metric-monitor.ini.j2
new file mode 100644
index 0000000..5e672fc
--- /dev/null
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.2/services/AMS/package/templates/metric-monitor.ini.j2
@@ -0,0 +1,30 @@
+{#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#}
+
+[default]
+debug_level = INFO
+metrics_server = {{ams_collector_host_single}}:{{ams_collector_port}}
+enable_time_threshold = false
+enable_value_threshold = false
+
+[emitter]
+send_interval = 60
+
+[collector]
+collector_sleep_interval = 5
+max_queue_size = 5000

Reply via email to