Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Model Monitoring] Fix event error message in monitoring stream graph #3639

Merged
merged 3 commits into from
May 29, 2023

Conversation

Eyal-Danieli
Copy link
Member

A fix for https://jira.iguazeng.com/browse/ML-3791.

When there is an error in the event dictionary, the monitoring stream graph returns None instead of raising an exception with the related error information. As a result, instead of getting the correct error information, the monitoring stream pod raise an error from Storey that can't handle a None event object.

In this PR we fix this issue and raise the correct error event description instead of returning a None object. Therefore, storey will push the right error message to the error stream and the monitoring stream will log the right error message as expected.

Copy link
Collaborator

@gtopper gtopper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than that small suggestion it LGTM

mlrun/model_monitoring/stream_processing_fs.py Outdated Show resolved Hide resolved
@liranbg liranbg merged commit 1afcb83 into mlrun:development May 29, 2023
14 checks passed
@Eyal-Danieli Eyal-Danieli deleted the fix-error-stream-message branch June 25, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants