Re: User metrics outside tasks

2021-03-12 Thread Arvid Heise
Hi Bob and Alexey, I double-checked and there is currently no way to achieve what you want. The good news is that the OOM part should be addressed through FLINK-20833 [1], maybe it's even suitable for other issues. A "workaround" (I don't think it's a workaround) for your issues would actually b

Re: User metrics outside tasks

2021-03-11 Thread Bob Tiernay
I too think this would be a useful capability for the job manager to be able to send metrics easily. Sometimes additional compute responsibilities are placed in the job manager and having a convenient way to add telemetry data into a metrics stream would be very useful. -- Sent from: http://apac

Re: User metrics outside tasks

2021-03-11 Thread Alexey Trenikhun
-OOM counter From: Arvid Heise Sent: Thursday, March 11, 2021 5:22:30 AM To: Alexey Trenikhun Cc: Flink User Mail List ; Chesnay Schepler Subject: Re: User metrics outside tasks Hi Alexey, could you describe what you want to achieve? Most metrics are bound to a

Re: User metrics outside tasks

2021-03-11 Thread Arvid Heise
Hi Alexey, could you describe what you want to achieve? Most metrics are bound to a specific task (available in RuntimeContext). You can also access them in custom operators and state backends. Then you have some metrics bound to taskmanager and even java processes, but I don't see an easy way to

User metrics outside tasks

2021-03-10 Thread Alexey Trenikhun
Hello, Is it possible to register user metric outside task/operator (not in RichMapFunction#open) Thanks, Alexey