Added discovery of custom aggregators

Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/2582cab5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/2582cab5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/2582cab5

Branch: refs/heads/APEXCORE-293
Commit: 2582cab5ba273d8e51285ba1a9baaefd00e97eef
Parents: 074fc0c
Author: Chandni Singh <[email protected]>
Authored: Thu Nov 5 11:37:50 2015 -0800
Committer: Thomas Weise <[email protected]>
Committed: Sun Feb 28 22:46:37 2016 -0800

----------------------------------------------------------------------
 autometrics/autometrics.md | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/2582cab5/autometrics/autometrics.md
----------------------------------------------------------------------
diff --git a/autometrics/autometrics.md b/autometrics/autometrics.md
index 4648513..4211842 100644
--- a/autometrics/autometrics.md
+++ b/autometrics/autometrics.md
@@ -243,6 +243,14 @@ public class AggregatorIIRAVG extends 
AbstractIncrementalAggregator
 }
 ```
 
+## Discovery of Custom Aggregators
+AppDataTracker searches for custom aggregator jars under the following 
directories statitcally before launching:
+
+1. {dt\_installation\_dir}/plugin/aggregators
+2. {user\_home\_dir}/plugin/aggregators
+
+It uses reflection to find all the classes that extend from 
`IncrementalAggregator` and `OTFAggregator` in these jars and registers them 
with the name provided by `@Name` annotation (or class name when `@Name` is 
absent).
+
 # Dashboards
 With App Data Tracker enabled, you can visualize the AutoMetrics and system 
metrics in the Dashboards within dtManage.   Refer back to the diagram in the 
App Data Tracker section, dtGateway relays queries and query results to and 
from the App Data Tracker.  In this way, dtManage sends queries and receives 
results from the App Data Tracker via dtGateway and uses the results to let the 
user visualize the data.
 

Reply via email to