Details
-
Improvement
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.3.1, 1.4.0
-
None
Description
The metric system can be effectively disabled by a reporter that throws exceptions whenever it is notified of adding metrics.
The reason is that the catching of exceptions isn't granular enough, as this peace of psude code shows:
addMetric(metric): try for reporter in reporters: reporter.addMetric(metric) metricQueryService.addMetric(metric) catch (e) logError(e)
If a reporter throws an exception we never even attempt the other reporters, not notify the MQS which disabled metrics in the WebUI.
Attachments
Issue Links
- links to