Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-328

Stop api-call calls to Segment

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 0.2.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Kiwi
    • Not Needed

      Every time someone calls a method of the shell API we log an event in Segment, which makes sense.

      However, this becomes problematic when someone calls a method of the shell in a loop, we call Segment way too much which will eventually affect our Segment bill.

      Instead of just calling Segment a million times, we should debounce the call.

      Notes

      • Should we debounce or throttle?

            Assignee:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: