Create single source of truth for WiredTiger stat string descriptions

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

      We currently index WiredTiger stats by human readable strings that come from upstream WiredTiger codebase, e.g. `"cache: eviction calls to get a page found queue empty"`. These strings are used literally throughout the `storage` codebase and now metrics generation. Consider refactoring these so that they are gated by a global variable or enum to prevent drift.

       

      Challenge: the storage codebase trims some of these strings during BSON conversion, so the aforementioned string becomes `"eviction calls to get a page found queue empty"` as a BSON key. This may be why their team chose not to implement them as variables and presents an engineering challenge.

       

      Challenge 2: The WiredTiger storage module has no public API, making it difficult to coordinate scopes.

            Assignee:
            Unassigned
            Reporter:
            Samuel Goodrick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: