[
https://issues.apache.org/jira/browse/APEXCORE-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070614#comment-15070614
]
ASF GitHub Bot commented on APEXCORE-291:
-----------------------------------------
Github user chinmaykolhatkar commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/190#discussion_r48397509
--- Diff:
engine/src/main/java/com/datatorrent/stram/plan/logical/MetricAggregatorMeta.java
---
@@ -0,0 +1,82 @@
+/**
+ * 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.
+ */
+package com.datatorrent.stram.plan.logical;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.Map;
+
+import javax.validation.constraints.NotNull;
+
+import com.google.common.base.Preconditions;
+
+import com.datatorrent.api.AutoMetric;
+
+public final class MetricAggregatorMeta implements Serializable
--- End diff --
Can you add javadoc which describes the class.
> 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)