Re: metrics in processElement

2021-11-23 Thread Chesnay Schepler
> metrics may not be reported properly They will definitely not be reported properly, because if a gauge already exists with the same name then it will just be ignored. On 23/11/2021 03:29, Caizhi Weng wrote: Hi! gauge: makes sense to define gauges inside processElement(). Although new

Re: metrics in processElement

2021-11-22 Thread Caizhi Weng
Hi! gauge: makes sense to define gauges inside processElement(). > Although new gauges will replace old gauges with the same name in the same metrics group, it is highly NOT recommended to do so because metrics may not be reported properly. But it is a little awkward if these variables are used i