You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by aj...@apache.org on 2015/06/04 08:26:30 UTC
falcon git commit: FALCON-676 Enable metrics for Titan. Contributed
by Ajay Yadava
Repository: falcon
Updated Branches:
refs/heads/master 9fd86b786 -> fae479b22
FALCON-676 Enable metrics for Titan. Contributed by Ajay Yadava
Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/fae479b2
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/fae479b2
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/fae479b2
Branch: refs/heads/master
Commit: fae479b2217adcb3b97ebe2c4e6739b56c691a0d
Parents: 9fd86b7
Author: Ajay Yadava <aj...@gmail.com>
Authored: Thu Jun 4 11:54:52 2015 +0530
Committer: Ajay Yadava <aj...@gmail.com>
Committed: Thu Jun 4 11:54:52 2015 +0530
----------------------------------------------------------------------
CHANGES.txt | 2 ++
common/src/main/resources/startup.properties | 9 +++++++++
docs/src/site/twiki/Operability.twiki | 2 ++
src/conf/startup.properties | 10 ++++++++++
4 files changed, 23 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/falcon/blob/fae479b2/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 7ce2ba3..27813d5 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -7,6 +7,8 @@ Trunk (Unreleased)
FALCON-1039 Add instance dependency API in falcon(Ajay Yadava)
IMPROVEMENTS
+ FALCON-676 Enable metrics for Titan(Ajay Yadava)
+
FALCON-1060 Handle transaction failures in Lineage(Pavan Kumar Kolamuri via Ajay Yadava)
FALCON-1212 Remove dependency on Gremlin (Ajay Yadava via Suhas Vasu)
http://git-wip-us.apache.org/repos/asf/falcon/blob/fae479b2/common/src/main/resources/startup.properties
----------------------------------------------------------------------
diff --git a/common/src/main/resources/startup.properties b/common/src/main/resources/startup.properties
index 28e7e50..c48188c 100644
--- a/common/src/main/resources/startup.properties
+++ b/common/src/main/resources/startup.properties
@@ -115,6 +115,15 @@ it.workflow.execution.listeners=org.apache.falcon.catalog.CatalogPartitionHandle
*.falcon.graph.transaction.retry.count=3
*.falcon.graph.transaction.retry.delay=5
+# Uncomment and override the following properties for enabling metrics for titan db and pushing them to graphite. You
+# can use other reporters like ganglia also.
+# Refer (http://thinkaurelius.github.io/titan/wikidoc/0.4.2/Titan-Performance-and-Monitoring)for finding the
+# relevant configurations for your use case. NOTE: you have to prefix all the properties with "*.falcon.graph."
+# *.falcon.graph.storage.enable-basic-metrics = true
+# Required; IP or hostname string
+# *.falcon.graph.metrics.graphite.hostname = 192.168.0.1
+# Required; specify logging interval in milliseconds
+# *.falcon.graph.metrics.graphite.interval = 60000
######### Authentication Properties #########
http://git-wip-us.apache.org/repos/asf/falcon/blob/fae479b2/docs/src/site/twiki/Operability.twiki
----------------------------------------------------------------------
diff --git a/docs/src/site/twiki/Operability.twiki b/docs/src/site/twiki/Operability.twiki
index 9584569..05850c1 100644
--- a/docs/src/site/twiki/Operability.twiki
+++ b/docs/src/site/twiki/Operability.twiki
@@ -18,6 +18,8 @@ Falcon provides monitoring of various events by capturing metrics of those event
The metric numbers can then be used to monitor performance and health of the Falcon system and
the entire processing pipelines.
+Falcon also exposes [[https://github.com/thinkaurelius/titan/wiki/Titan-Performance-and-Monitoring][metrics for titandb]]
+
Users can view the logs of these events in the metric.log file, by default this file is created
under ${user.dir}/logs/ directory. Users may also extend the Falcon monitoring framework to send
events to systems like Mondemand/lwes by implementingorg.apache.falcon.plugin.MonitoringPlugin
http://git-wip-us.apache.org/repos/asf/falcon/blob/fae479b2/src/conf/startup.properties
----------------------------------------------------------------------
diff --git a/src/conf/startup.properties b/src/conf/startup.properties
index 3681cb9..9925373 100644
--- a/src/conf/startup.properties
+++ b/src/conf/startup.properties
@@ -110,6 +110,16 @@ prism.configstore.listeners=org.apache.falcon.entity.v0.EntityGraph,\
*.falcon.graph.transaction.retry.count=3
*.falcon.graph.transaction.retry.delay=5
+# Uncomment and override the following properties for enabling metrics for titan db and pushing them to graphite. You
+# can use other reporters like ganglia also.
+# Refer (http://thinkaurelius.github.io/titan/wikidoc/0.4.2/Titan-Performance-and-Monitoring)for finding the
+# relevant configurations for your use case. NOTE: you have to prefix all the properties with "*.falcon.graph."
+# *.falcon.graph.storage.enable-basic-metrics = true
+# Required; IP or hostname string
+# *.falcon.graph.metrics.graphite.hostname = 192.168.0.1
+# Required; specify logging interval in milliseconds
+# *.falcon.graph.metrics.graphite.interval = 60000
+
######### Authentication Properties #########