[
https://issues.apache.org/jira/browse/STORM-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Gresch resolved STORM-3623.
---------------------------------
Resolution: Fixed
> 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
> Assignee: Aaron Gresch
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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)