document the stack trace schema

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2025-05-26
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Add a section to https://github.com/mongodb/mongo/blob/master/docs/parsing_stack_traces.md

      Describe the format of our stack traces as they appear in logs.
      e.g.:

      {"C": "mongo::repl::(anonymous namespace)::insertDocumentsSingleBatch(mongo::OperationContext*, mongo::NamespaceStringOrUUID const&, __gnu_cxx::__normal_iterator<mongo::InsertStatement const*, std::vector<mongo::InsertStatement, std::allocator<mongo::InsertStatement> > >, __gnu_cxx::__normal_iterator<mongo::InsertStatement const*, std::vector<mongo::InsertStatement, std::allocator<mongo::InsertStatement> > >)", "a": "5641092AC109", "b": "564106F44000", "o": "2368109", "s": "_ZN5mongo4repl12_GLOBAL__N_126insertDocumentsSingleBatchEPNS_16OperationContextERKNS_21NamespaceStringOrUUIDEN9__gnu_cxx17__normal_iteratorIPKNS_15InsertStatementESt6vectorIS9_SaIS9_EEEESF_", "s+": "239"}
      

      etc..

      https://mongodb.slack.com/archives/C1MT4NHF0/p1747765882432569?thread_ts=1716588039.315119&cid=C1MT4NHF0

              Assignee:
              Billy Donahue
              Reporter:
              Billy Donahue
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: