Re: Removing metrics

2021-10-18 Thread Arvid Heise
Hi Mason, I created FLINK-24574 [1] to track this feature request. I think it's a very valid use case. [1] https://issues.apache.org/jira/browse/FLINK-24574 On Fri, Oct 15, 2021 at 9:58 AM JING ZHANG wrote: > Hi Mason, > I'm afraid there is no way for users to actively > remove/unregister metr

Re: Removing metrics

2021-10-15 Thread JING ZHANG
Hi Mason, I'm afraid there is no way for users to actively remove/unregister metrics. These things are automatically completed by the Flink engine after the job finishes. Here is a very hacky way to achieve this. After you think the UDF with metrics registration has already processed all it's busi

Removing metrics

2021-10-14 Thread Mason Chen
Hi all, Suppose I have a short lived process within a UDF that defines metrics. After the process has completed, the underlying resources should be cleaned up. Is there an API to remove/unregister metrics? Best, Mason