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

[Alerts] Update entity id to take specific id & fix slack job overview #5595

Merged
merged 4 commits into from
May 22, 2024

Conversation

Yacouby
Copy link
Contributor

@Yacouby Yacouby commented May 20, 2024

No description provided.

@Yacouby Yacouby force-pushed the remove_star branch 2 times, most recently from cbffe48 to 5e75e01 Compare May 20, 2024 16:38
Copy link
Member

@theSaarco theSaarco left a comment

Choose a reason for hiding this comment

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

Looks good, except for a single comment I have.
Please note that this change will break upgrades between RCs (since AlertTemplate structure has changed), so developers will need to be aware of the change.

mlrun/utils/notifications/notification/slack.py Outdated Show resolved Hide resolved
@@ -184,6 +184,8 @@ def process_event(
obj=state_obj,
active=active,
)
else:
logger.debug("The entity of the alert does not match the one in event")
Copy link
Member

Choose a reason for hiding this comment

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

Is this expected? in your next PR please add some parameters kwargs to log the entities or some other alert/event information

@alonmr alonmr merged commit 1198ed4 into mlrun:development May 22, 2024
11 checks passed
@Yacouby Yacouby deleted the remove_star branch May 22, 2024 12:04
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

3 participants