[
https://issues.apache.org/jira/browse/FLINK-29801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641728#comment-17641728
]
Hang Ruan commented on FLINK-29801:
-----------------------------------
Hi, [~stevenz3wu] ,
For question 1, we want to provide some common metrics in the
`OperatorCoordinatorMetricGroup` like other metric groups, such as
`SinkWriterMetricGroup`. So we provide the `numEventsIn` for it.
For question 2, when invoking
`SourceCoordinatorProvider#getCoordinator(OperatorCoordinator.Context
context)`, we could get the `OperatorCoordinatorMetricGroup` by the method
`metricGroup()` in `OperatorCoordinator.Context`.
The discussion will be sent this week or later. Thanks for the reply.
> OperatorCoordinator need open the way to operate metricGroup interface
> ----------------------------------------------------------------------
>
> Key: FLINK-29801
> URL: https://issues.apache.org/jira/browse/FLINK-29801
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Metrics
> Reporter: yuemeng
> Assignee: yuemeng
> Priority: Major
> Labels: pull-request-available
>
> Currently, We have no way to get metric group instances in OperatorCoordinator
> In some cases, we may report some metric in OperatorCoordinator such as Flink
> hudi integrate scene, some meta will send to operator coordinator to commit
> to hdfs or hms
> but we also need to report some metrics in operator coordinator for monitor
> purpose
--
This message was sent by Atlassian Jira
(v8.20.10#820010)