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

Add diagnosability to operation metrics

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2022-05-02, Execution Team 2022-05-16, Execution Team 2022-05-30

      A number of times now we have needed to diagnose the source of certain operation metrics based on database. Our existing tools to discern where metrics are being incremented are not sufficient to adequately diagnose Serverless issues from the field.

      One enhancement we can consider is using eBPF to trace operation metric calls. However, eBPF support needs fleshing out first.

      For now, I think it would be useful to have specific debug log lines near the calls to operation metric increments that could give information about the provenance of the call (thread id and some other local info that might be helpful). These log lines could be turned on and off at runtime for brief periods to help diagnose issues in the field.

            Assignee:
            josef.ahmad@mongodb.com Josef Ahmad
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: