Skip to content

Upgrade alertmanager v0.32.1#7462

Draft
SungJin1212 wants to merge 17 commits intocortexproject:masterfrom
SungJin1212:Upgrade-alertmanager-0.32
Draft

Upgrade alertmanager v0.32.1#7462
SungJin1212 wants to merge 17 commits intocortexproject:masterfrom
SungJin1212:Upgrade-alertmanager-0.32

Conversation

@SungJin1212
Copy link
Copy Markdown
Member

@SungJin1212 SungJin1212 commented Apr 30, 2026

Upgrade the Prometheus alertmanager version to v0.32.1

Key Alertmanager Changes

Protobuf Migration

  • clusterpb.FullState migrated from github.com/gogo/protobuf to google.golang.org/protobuf

UI Embed

Alertmanager UI assets (app/dist/) are now embedded via //go:embed app/dist in ui/web.go. The dist/ entry in .gitignore must explicitly allow vendored UI assets via !vendor/**/dist/.

Silence API Model Restructure

The swagger-generated API models now split Silence into separate types:

    • Silence — base model for creating silences (POST), with all fields as required pointers (*string, *strfmt.DateTime)
    • GettableSilence — extends Silence with ID, Status, and UpdatedAt fields (GET responses)
    • PostableSilence — extends Silence with optional ID (for upsert)
  • createdBy field is now required when creating a silence via the HTTP API
  • Matchers use open_api_models.Matchers ([]*Matcher) instead of amlabels.Matchers
  • Silence state constants renamed: SilenceStateActive/ExpiredSilenceStatusStateActive/SilenceStatusStateExpired

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

@SungJin1212 SungJin1212 marked this pull request as draft April 30, 2026 06:08
@dosubot dosubot Bot added component/alertmanager dependencies Pull requests that update a dependency file labels Apr 30, 2026
@SungJin1212 SungJin1212 force-pushed the Upgrade-alertmanager-0.32 branch 2 times, most recently from 65d1969 to b207180 Compare April 30, 2026 07:20
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212 SungJin1212 force-pushed the Upgrade-alertmanager-0.32 branch from 6ef2775 to 3c404db Compare April 30, 2026 07:45
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212 SungJin1212 force-pushed the Upgrade-alertmanager-0.32 branch from b6cfba4 to be25a00 Compare April 30, 2026 08:12
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@SungJin1212
Copy link
Copy Markdown
Member Author

We need a CI to inject an alertmanager ui assets to the vendor automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/alertmanager dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant