-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Submit critical service check whenever connection fails (#15208)
* Submit critical service check whenever connection fails * clean up variable * style fixes * remove outdated todo comment * fix integration tests * catch operationfailure as well * Extend and document critical failures * Update mongo/datadog_checks/mongo/mongo.py Co-authored-by: Alex Lopez <[email protected]> * Update mongo/datadog_checks/mongo/mongo.py Co-authored-by: Florent Clarret <[email protected]> * add import * misc changes * More errors from docs, test all errors in unit test * style fixes * reraise exception so it shows up in agent logs * adjust tests to exception-raising * Update mongo/tests/test_integration.py Co-authored-by: Alex Lopez <[email protected]> * fix formatting --------- Co-authored-by: Alex Lopez <[email protected]> Co-authored-by: Florent Clarret <[email protected]>
- Loading branch information
1 parent
1574b9a
commit c845677
Showing
7 changed files
with
94 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters