Is it just me or when you enable the currentOutputWatermark Prometheus metric and then you look at an operator that has no active watermark, the value reported is extremely old? Like the year 1975 in milliseconds old, even though there is no actual watermark. Is this a bug or expected? It causes unfortunate behavior when configuring alerting
m
Martijn Visser
01/03/2024, 9:02 AM
If there's no watermark, then it's 000000 UTC on January 1st 1970, so that's as expected
a
Alex Craig
01/03/2024, 3:59 PM
That's unfortunate behavior from a monitoring perspective. If you're graphing watermark progress for realtime streams, or alerting on them, having an extremely old watermark that isn't actually a watermark means you have to tweak all your queries to avoid them
m
Martijn Visser
01/03/2024, 6:15 PM
I think the opposite; if you expect a watermark but it’s not there, that would be alert worthy, right?
Martijn Visser
01/03/2024, 6:16 PM
The problem for watermark progression in general is that you need to have a starting point. Since you never know the event time of the incoming data, it has to be to oldest point. Else you can’t measure progress
a
Alex Craig
01/03/2024, 6:23 PM
I understand. I just wish there were a way to distinguish tasks that do not use watermarks from ones that do but do not have one yet assigned.