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/fc9af11b Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/fc9af11b Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/fc9af11b Branch: refs/heads/APEXCORE-293 Commit: fc9af11bc6b890544cf7928369cbfb935375d3cd Parents: cf75073 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/fc9af11b/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.
