Improve safety of MetricBuilder creation

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MetricBuilder creation is not thread-safe so these should always be created as (static) file-level variables so they are initialized before the normal execution. We should document this is the case, and possibly add an invariant in MetricBuilder construction that fails if they are created later in the program's execution.

            Assignee:
            Unassigned
            Reporter:
            Michael Nugent
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: