Closed AnandPaladin closed 3 weeks ago
The recent updates primarily focus on enhancing the error handling and logging mechanisms across various inventory collectors in the Azure Discovery module. The changes introduce detailed error messages, increment error counts, and improve debug logging to provide clearer insights into issues during subscription data collection.
Files | Change Summary |
---|---|
.../ActivityLogsCollector.java |
Enhanced error handling and logging with subscription details. |
.../BatchAccountInventoryCollector.java .../BlobContainerInventoryCollector.java .../BlobServiceInventoryCollector.java .../KubernetesServicesCollector.java |
Updated exception handling for detailed logging and error count tracking. |
.../DatabricksInventoryCollector.java .../MariaDBInventoryCollector.java .../MySQLInventoryCollector.java .../NamespaceInventoryCollector.java .../PolicyStatesInventoryCollector.java .../PostgreSQLInventoryCollector.java .../SCRecommendationsCollector.java .../SearchServiceInventoryCollector.java .../SecurityAlertsInventoryCollector.java .../SecurityPricingsInventoryCollector.java .../SitesInventoryCollector.java .../SubnetInventoryCollector.java |
Enhanced error logging, exception variable renaming, and error count logging. |
.../VaultInventoryCollector.java .../VirtualMachineScaleSetCollector.java .../WebAppInventoryCollector.java .../WorkflowInventoryCollector.java |
Detailed error message logging with subscription details and incremented error count. |
.../AssetFileGenerator.java |
Improved error logging with descriptive messages and error count tracking. |
In fields of code, where errors bloom, Logs now capture every gloom. With counts that rise and details clear, We face the bugs without a fear. A rabbit’s cheer, so bright and loud, For code that stands so strong and proud.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Description
This is related to https://paladincloud.atlassian.net/browse/CORE-2050. We are encountering Azure-Collector Job Failure issue which triggered Datadog alert for Vertex. With current code, we are unable to figure out which exact collector job failure indeed caused datadog alert since error count gets incremented during collector failures. Hence I have added more logs which might help us to narrow the root cause for collector failures
Problem
Azure collector jobs gets failed at Vertex
Solution
Adding more logs as of now to figure out exact collector causing this datadog alert issue
Fixes # (issue if any)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:
Other Information:
List any documentation updates that are needed for the Wiki
Summary by CodeRabbit
Bug Fixes
Enhancements