Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.1.0
-
None
Description
There are currently 2 distinct approaches to how added/removed metrics are handled while a Reporter is in report().
The StatsDReporter simply catches possible exceptions (ConcurrentModificationException/NoSuchElementException) and reports the next time, while all other reporters access the metrics in a synchronized block.
We should have a clear line as to which approach people should use.
Whether FLINK-3998 is a valid issue depends on this decision.