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

k8s vs Prometheus alert distinction in Slack sink code #1144

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

RobertSzefler
Copy link
Contributor

Adds the distinction between K8s events and Prometheus alerts in Slack messages. Also rephrases a message in the mail sink to be consistent with the Slack code.

@RobertSzefler RobertSzefler force-pushed the feature/prometheus-k8s-event-formatting branch from 5681c4b to 94d83ee Compare November 2, 2023 07:19
@RobertSzefler RobertSzefler marked this pull request as ready for review November 15, 2023 08:37
Copy link
Contributor

@arikalon1 arikalon1 left a comment

Choose a reason for hiding this comment

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

LGTM

Added one minor comment
Please fix and merge

status_name: str = "👀 *K8s event detected*"
else:
# TODO how should we format findings with other sources?
status_name: str = "???"
Copy link
Contributor

Choose a reason for hiding this comment

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

I would just name this notification

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@RobertSzefler RobertSzefler force-pushed the feature/prometheus-k8s-event-formatting branch from 94d83ee to abed8a9 Compare November 15, 2023 16:10
@RobertSzefler RobertSzefler force-pushed the feature/prometheus-k8s-event-formatting branch from abed8a9 to ebd8c47 Compare November 15, 2023 16:11
@RobertSzefler RobertSzefler enabled auto-merge (squash) November 15, 2023 16:11
@RobertSzefler RobertSzefler merged commit f594d07 into master Nov 15, 2023
16 checks passed
@RobertSzefler RobertSzefler deleted the feature/prometheus-k8s-event-formatting branch November 15, 2023 16:19
pavangudiwada pushed a commit to pavangudiwada/robusta that referenced this pull request Jun 25, 2024
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.

2 participants