Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-976

Publish CommandFailedEvent for arbitrary failures

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1
    • Affects Version/s: None
    • Component/s: None
    • None

      The APM spec requires a CommandSucceededEvent or CommandFailedEvent for every CommandStartedEvent:

      https://github.com/mongodb/specifications/blob/master/source/command-monitoring/command-monitoring.rst#guarantees

      Any exception during command execution must be published:

      https://github.com/mongodb/specifications/blob/master/source/command-monitoring/command-monitoring.rst#error-handling

            Assignee:
            luke.lovett Luke Lovett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: