-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cloud Security][Telemetry] add error handling incase an individual c…
…ollector fails (#165918) ## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. The kibana `cloud security` usage collector payload fails when one feature collector fails. I applied error handling and enabled the feature collector to fail gracefully with a default value. We are now using `Promise.allSettled` vs `Promse.all` to avoid all collectors failing in case one collector fails.
- Loading branch information
1 parent
6e74efe
commit 0e2775f
Showing
3 changed files
with
34 additions
and
18 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