azure-sdk-for-python
azure-sdk-for-python copied to clipboard
[Monitor][Ingestion] Adjust upload error handling
This uses a callback approach where a user can optionally pass in an on_error callback function for custom error handing.
This callback function should expect arbitrary keyword arguments (**kwargs) or expect an error and logs argument.
If no on_error callback function is passed in, then the default behavior will be to raise the first error encountered.
A sync and async sample were added demonstrating usage.
API change check
APIView has identified API level changes in this PR and created following API reviews.