errorcore
Database Support

MongoDB

MongoDB incidents are easiest to read when the recorded operation names and collection targets are clear. Full documents rarely belong in an error package.

Useful signals include:

  • operation type
  • collection name
  • duration
  • request order relative to the failure

Avoid capturing full filters or update documents unless they are scrubbed and operationally necessary.

On this page