[
https://issues.apache.org/jira/browse/APEXCORE-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068838#comment-15068838
]
ASF GitHub Bot commented on APEXCORE-291:
-----------------------------------------
Github user tweise commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/190#discussion_r48306115
--- Diff:
engine/src/test/java/com/datatorrent/stram/engine/AutoMetricTest.java ---
@@ -361,6 +394,31 @@ public int getMyMetric()
}
}
+ public static class OperatorAndAggregator extends OperatorWithMetrics
implements AutoMetric.Aggregator, Serializable
--- End diff --
Why Serializable?
> Provide a way for an operator to specify its metric aggregator instance
> -----------------------------------------------------------------------
>
> Key: APEXCORE-291
> URL: https://issues.apache.org/jira/browse/APEXCORE-291
> Project: Apache Apex Core
> Issue Type: Improvement
> Reporter: Chandni Singh
> Assignee: Chandni Singh
>
> Need a way to let an operator to provide its default metrics aggregator
> instance.
> If an operator class implements AutoMetric.Aggregator then use that logical
> instance of the operator class as the default metrics aggregator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)