You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hang Ruan (Jira)" <ji...@apache.org> on 2022/12/01 07:51:00 UTC

[jira] [Comment Edited] (FLINK-29801) OperatorCoordinator need open the way to operate metricGroup interface

    [ https://issues.apache.org/jira/browse/FLINK-29801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641728#comment-17641728 ] 

Hang Ruan edited comment on FLINK-29801 at 12/1/22 7:50 AM:
------------------------------------------------------------

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 detail will be contained in the other issue https://issues.apache.org/jira/browse/FLINK-21000 after this issue.

The discussion will be sent this week or later. Thanks for the reply.


was (Author: ruanhang1993):
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)