-
Notifications
You must be signed in to change notification settings - Fork 810
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
Upgrade alertmanager version to v0.28.0 #6590
base: master
Are you sure you want to change the base?
Upgrade alertmanager version to v0.28.0 #6590
Conversation
@rajagopalanand @rapphil Can you help review this change? |
@SungJin1212 Can you please add changelog? |
1228a89
to
48d8cfb
Compare
Signed-off-by: SungJin1212 <[email protected]>
48d8cfb
to
6ce7ac3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Better to wait for review from @rajagopalanand or @rapphil before merging
pkg/alertmanager/alertmanager.go
Outdated
@@ -99,7 +103,7 @@ type Alertmanager struct { | |||
persister *statePersister | |||
nflog *nflog.Log | |||
silences *silence.Silences | |||
marker types.Marker | |||
marker *types.MemMarker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we be relying on the interface here instead of the implementation? The
previous Marker
interface was renamed to AlertMarker
prometheus/alertmanager@d31a249
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, I split it into two interfaces.
alertMarker types.AlertMarker
groupMarker types.GroupMarker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any major differences in the log format emitted by AlertManager with this new release? from reading the code It seems not, but did you actually notice anything?
Signed-off-by: SungJin1212 <[email protected]>
7a1a905
to
650d43c
Compare
This PR upgrades the Prometheus Alertmanager version to v0.28.0.
Notable changes:
The new integrations are added (msteamsv2, jira, and rocketchat)
It switches to use the
slog
; we can use aGoKitLogToSlog
.Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]