[OPENAM-13244] CTS task metrics should be eagerly instantiated Created: 20/Jun/18  Updated: 24/Oct/18  Resolved: 22/Jun/18

Status: Resolved
Project: OpenAM
Component/s: CTS, monitoring
Affects Version/s: 6.0.0
Fix Version/s: 6.5.0, 6.0.1, 6.1.0

Type: Bug Priority: Major
Reporter: Craig McDonnell Assignee: Craig McDonnell
Resolution: Fixed Votes: 0
Labels: CTS.Next
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.

Generated at Tue Nov 24 21:15:54 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.