Ethan Li created STORM-3623:
-------------------------------

             Summary: v2 metrics tick reports all worker metrics within each 
executor
                 Key: STORM-3623
                 URL: https://issues.apache.org/jira/browse/STORM-3623
             Project: Apache Storm
          Issue Type: Bug
            Reporter: Ethan Li


see 
https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/executor/Executor.java#L335-L341


{code:java}
    private void addV2Metrics(List<IMetricsConsumer.DataPoint> dataPoints) {
        boolean enableV2MetricsDataPoints = 
ObjectReader.getBoolean(topoConf.get(Config.TOPOLOGY_ENABLE_V2_METRICS_TICK), 
false);
        if (!enableV2MetricsDataPoints) {
            return;
        }
        StormMetricRegistry stormMetricRegistry = 
workerData.getMetricRegistry();
{code}


This should be reporting just the metrics for the Executor.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to