Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87139

Add a "highest verbosity" setting that dumps all of the tcmalloc stats string

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2024-03-04, Service Arch 2024-03-18

      When discussing the metrics for the new tcmalloc, we opted to avoid patching our tcmalloc fork to add in extra diagnostics. However, this does mean that tcmalloc has information that is not accessible to tses, and in an emergency, it would be nice to have a fallback way to get all of the information that tcmalloc provides.

       

      Add in a "verbosity: 3" setting to tcmalloc serverStatus that allows us to run:

      db.serverStatus({tcmalloc: 3}) 

      and get the entire tcmalloc stats string, as described here: https://github.com/google/tcmalloc/blob/master/docs/stats.md

       

      This must never be included in FTDC data, as it is a huge string that would really harm retention.

            Assignee:
            erin.mcnulty@mongodb.com Erin McNulty
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: