[
https://issues.apache.org/jira/browse/FLINK-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839963#comment-16839963
]
zhijiang commented on FLINK-12202:
----------------------------------
Hey [~azagrebin], as we confirmed before, this ticket is not needed because we
would register metrics while creating batch of partitions/gates. So should we
close this jira?
> Consider introducing batch metric register in NetworkEnviroment
> ---------------------------------------------------------------
>
> Key: FLINK-12202
> URL: https://issues.apache.org/jira/browse/FLINK-12202
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Metrics, Runtime / Network
> Reporter: Andrey Zagrebin
> Assignee: zhijiang
> Priority: Major
>
> As we have some network specific metrics registered in TaskIOMetricGroup
> (In/OutputBuffersGauge, In/OutputBufferPoolUsageGauge), we can introduce
> batch metric registering in
> NetworkEnviroment.registerMetrics(ProxyMetricGroup, partitions, gates), where
> task passes its TaskIOMetricGroup into ProxyMetricGroup. This way we could
> break a tie between task and NetworkEnviroment.
> TaskIOMetricGroup.initializeBufferMetrics, In/OutputBuffersGauge,
> In/OutputBufferPoolUsageGauge could be moved into
> NetworkEnviroment.registerMetrics and network code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)