You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Zhanghao Chen <zh...@outlook.com> on 2024/05/29 02:43:19 UTC

[DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Hi all,

I'd like start a discussion on FLIP-460: Display source/sink I/O metrics on Flink Web UI [1].

Currently, the numRecordsIn & numBytesIn metrics for sources and the numRecordsOut & numBytesOut metrics for sinks are always 0 on the Flink web dashboard. It is especially confusing for simple ETL jobs where there's a single chained operator with 0 input rate and 0 output rate. For years, Flink newbies have been asking "Why my job has zero consumption rate and zero production rate, is it actually working?"

Connectors implementing FLIP-33 [2] have already exposed these metrics on the operator level, this FLIP takes a further step to expose them on the job overview page on Flink Web UI.

Looking forward to everyone's feedback and suggestions. Thanks!

[1] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=309496355
[2] https://cwiki.apache.org/confluence/display/FLINK/FLIP-33%3A+Standardize+Connector+Metrics

Best,
Zhanghao Chen

Re: [DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Posted by Zhanghao Chen <zh...@outlook.com>.
Thanks for all. As the discussion is quite concluded, I'll start voting in a separate thread.
________________________________
From: Leonard Xu <xb...@gmail.com>
Sent: Monday, July 15, 2024 11:22
To: dev <de...@flink.apache.org>
Subject: Re: [DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Thanks for zhanghao for kicking off the thread.

>  It is especially confusing for simple ETL jobs where there's a single chained operator with 0 input rate and 0 output rate.


This case have confused flink users for a long time, +1 for the FLIP.


Best,
Leonard


Re: [DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Posted by Leonard Xu <xb...@gmail.com>.
Thanks for zhanghao for kicking off the thread.

>  It is especially confusing for simple ETL jobs where there's a single chained operator with 0 input rate and 0 output rate. 


This case have confused flink users for a long time, +1 for the FLIP.


Best,
Leonard


Re: [DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Posted by Xintong Song <to...@gmail.com>.
+1

Best,

Xintong



On Sat, Jul 13, 2024 at 12:54 AM Őrhidi Mátyás <ma...@gmail.com>
wrote:

> +1 on this. Thank you, Zhanghao!
>
> Cheers,
> Matyas
>
> On Fri, Jul 12, 2024 at 5:58 PM Becket Qin <be...@gmail.com> wrote:
>
> > Thanks for the proposal, Zhanghao.
> >
> > +1 on the proposal. It makes a lot of sense.
> >
> > Thanks,
> >
> > Jiangjie (Becket) Qin
> >
> >
> > On Tue, May 28, 2024 at 7:43 PM Zhanghao Chen <zhanghao.chen@outlook.com
> >
> > wrote:
> >
> > > Hi all,
> > >
> > > I'd like start a discussion on FLIP-460: Display source/sink I/O
> metrics
> > > on Flink Web UI [1].
> > >
> > > Currently, the numRecordsIn & numBytesIn metrics for sources and the
> > > numRecordsOut & numBytesOut metrics for sinks are always 0 on the Flink
> > web
> > > dashboard. It is especially confusing for simple ETL jobs where
> there's a
> > > single chained operator with 0 input rate and 0 output rate. For years,
> > > Flink newbies have been asking "Why my job has zero consumption rate
> and
> > > zero production rate, is it actually working?"
> > >
> > > Connectors implementing FLIP-33 [2] have already exposed these metrics
> on
> > > the operator level, this FLIP takes a further step to expose them on
> the
> > > job overview page on Flink Web UI.
> > >
> > > Looking forward to everyone's feedback and suggestions. Thanks!
> > >
> > > [1]
> > >
> >
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=309496355
> > > [2]
> > >
> >
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-33%3A+Standardize+Connector+Metrics
> > >
> > > Best,
> > > Zhanghao Chen
> > >
> >
>

Re: [DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Posted by Őrhidi Mátyás <ma...@gmail.com>.
+1 on this. Thank you, Zhanghao!

Cheers,
Matyas

On Fri, Jul 12, 2024 at 5:58 PM Becket Qin <be...@gmail.com> wrote:

> Thanks for the proposal, Zhanghao.
>
> +1 on the proposal. It makes a lot of sense.
>
> Thanks,
>
> Jiangjie (Becket) Qin
>
>
> On Tue, May 28, 2024 at 7:43 PM Zhanghao Chen <zh...@outlook.com>
> wrote:
>
> > Hi all,
> >
> > I'd like start a discussion on FLIP-460: Display source/sink I/O metrics
> > on Flink Web UI [1].
> >
> > Currently, the numRecordsIn & numBytesIn metrics for sources and the
> > numRecordsOut & numBytesOut metrics for sinks are always 0 on the Flink
> web
> > dashboard. It is especially confusing for simple ETL jobs where there's a
> > single chained operator with 0 input rate and 0 output rate. For years,
> > Flink newbies have been asking "Why my job has zero consumption rate and
> > zero production rate, is it actually working?"
> >
> > Connectors implementing FLIP-33 [2] have already exposed these metrics on
> > the operator level, this FLIP takes a further step to expose them on the
> > job overview page on Flink Web UI.
> >
> > Looking forward to everyone's feedback and suggestions. Thanks!
> >
> > [1]
> >
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=309496355
> > [2]
> >
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-33%3A+Standardize+Connector+Metrics
> >
> > Best,
> > Zhanghao Chen
> >
>

Re: [DISCUSS] FLIP-460: Display source/sink I/O metrics on Flink Web UI

Posted by Becket Qin <be...@gmail.com>.
Thanks for the proposal, Zhanghao.

+1 on the proposal. It makes a lot of sense.

Thanks,

Jiangjie (Becket) Qin


On Tue, May 28, 2024 at 7:43 PM Zhanghao Chen <zh...@outlook.com>
wrote:

> Hi all,
>
> I'd like start a discussion on FLIP-460: Display source/sink I/O metrics
> on Flink Web UI [1].
>
> Currently, the numRecordsIn & numBytesIn metrics for sources and the
> numRecordsOut & numBytesOut metrics for sinks are always 0 on the Flink web
> dashboard. It is especially confusing for simple ETL jobs where there's a
> single chained operator with 0 input rate and 0 output rate. For years,
> Flink newbies have been asking "Why my job has zero consumption rate and
> zero production rate, is it actually working?"
>
> Connectors implementing FLIP-33 [2] have already exposed these metrics on
> the operator level, this FLIP takes a further step to expose them on the
> job overview page on Flink Web UI.
>
> Looking forward to everyone's feedback and suggestions. Thanks!
>
> [1]
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=309496355
> [2]
> https://cwiki.apache.org/confluence/display/FLINK/FLIP-33%3A+Standardize+Connector+Metrics
>
> Best,
> Zhanghao Chen
>