You should be able to set profiler from mongos

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we can only set the profiling level via mongod's directly. The mongos layer is aware of primary and should accept

      sh.setProfilingLevel(database,level, slowms) which in turn would then set it on each primary.

            Assignee:
            Unassigned
            Reporter:
            David Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: