[OPENAM-13244] CTS task metrics should be eagerly instantiated Created: 20/Jun/18 Updated: 24/Oct/18 Resolved: 22/Jun/18
|Fix Version/s:||6.5.0, 6.0.1, 6.1.0|
|Reporter:||Craig McDonnell||Assignee:||Craig McDonnell|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Sprint:||CTSNEX Sprint 28|
During the release phase of AM 6.0.0, we identified that instantiating metric objects can be expensive - This mostly affected the session metrics.
Metrics for monitoring CTS tasks are not eagerly instantiated and this likely creates unwanted contention in the Common Monitoring MeterRegistry API. Additionally, from a UX point of view, it's preferable to eagerly instantiate metric objects as it makes it easier to define dashboards and setup alerts prior to the occurrence of the event being monitored.