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

New multi service log traces should be only included in sharded clusters

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-04-15
    • 160

      Log traces include service metadata to specify the origin of the trace, denoted as "r" for router and "s" for shard, for instance:

      {"t":{"$date":"2023-08-08T08:56:43.638+00:00"},"s":"I","c":"COMMAND", "id":51803,"svc":"s","ctx":"conn6","msg":"Slow query","attr":{...}}
      

      This new field should only be returned by a node part of a sharded cluster, not replica sets nor standalone.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: