Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package
golang-github-prometheus-alertmanager for openSUSE:Factory checked in at
2026-01-19 18:38:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-alertmanager"
Mon Jan 19 18:38:28 2026 rev:27 rq:1328035 version:0.30.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/golang-github-prometheus-alertmanager.changes
2025-12-19 16:50:45.794209978 +0100
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1928/golang-github-prometheus-alertmanager.changes
2026-01-19 18:42:30.344983429 +0100
@@ -1,0 +2,6 @@
+Tue Jan 13 06:44:59 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 0.30.1:
+ * [BUGFIX] Fix memory leak in tracing client. #4828
+
+-------------------------------------------------------------------
Old:
----
alertmanager-0.30.0.obscpio
New:
----
alertmanager-0.30.1.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-alertmanager.spec ++++++
--- /var/tmp/diff_new_pack.JwcCID/_old 2026-01-19 18:42:31.617036062 +0100
+++ /var/tmp/diff_new_pack.JwcCID/_new 2026-01-19 18:42:31.629036559 +0100
@@ -1,7 +1,7 @@
#
# spec file for package golang-github-prometheus-alertmanager
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: golang-github-prometheus-alertmanager
-Version: 0.30.0
+Version: 0.30.1
Release: 0
Summary: Prometheus Alertmanager
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.JwcCID/_old 2026-01-19 18:42:31.697039372 +0100
+++ /var/tmp/diff_new_pack.JwcCID/_new 2026-01-19 18:42:31.697039372 +0100
@@ -4,7 +4,7 @@
<param name="url">https://github.com/prometheus/alertmanager</param>
<param name="exclude">.git</param>
<param name="exclude">.github</param>
- <param name="revision">v0.30.0</param>
+ <param name="revision">v0.30.1</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
++++++ alertmanager-0.30.0.obscpio -> alertmanager-0.30.1.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/CHANGELOG.md
new/alertmanager-0.30.1/CHANGELOG.md
--- old/alertmanager-0.30.0/CHANGELOG.md 2025-12-15 17:03:26.000000000
+0100
+++ new/alertmanager-0.30.1/CHANGELOG.md 2026-01-13 00:12:12.000000000
+0100
@@ -5,6 +5,10 @@
* [ENHANCEMENT] ...
* [BUGFIX] ...
+## 0.30.1 / 2026-01-12
+
+* [BUGFIX] Fix memory leak in tracing client. #4828
+
## 0.30.0 / 2025-12-15
* [CHANGE] Don't allow calling qids with an empty ids list. #4707
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/VERSION
new/alertmanager-0.30.1/VERSION
--- old/alertmanager-0.30.0/VERSION 2025-12-15 17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/VERSION 2026-01-13 00:12:12.000000000 +0100
@@ -1 +1 @@
-0.30.0
+0.30.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/discord/discord.go
new/alertmanager-0.30.1/notify/discord/discord.go
--- old/alertmanager-0.30.0/notify/discord/discord.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/discord/discord.go 2026-01-13
00:12:12.000000000 +0100
@@ -60,7 +60,7 @@
// New returns a new Discord notifier.
func New(c *config.DiscordConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "discord",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "discord",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/incidentio/incidentio.go
new/alertmanager-0.30.1/notify/incidentio/incidentio.go
--- old/alertmanager-0.30.0/notify/incidentio/incidentio.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/incidentio/incidentio.go 2026-01-13
00:12:12.000000000 +0100
@@ -73,7 +73,7 @@
}
}
- client, err := commoncfg.NewClientFromConfig(httpConfig, "incidentio",
httpOpts...)
+ client, err := notify.NewClientWithTracing(httpConfig, "incidentio",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/jira/jira.go
new/alertmanager-0.30.1/notify/jira/jira.go
--- old/alertmanager-0.30.0/notify/jira/jira.go 2025-12-15 17:03:26.000000000
+0100
+++ new/alertmanager-0.30.1/notify/jira/jira.go 2026-01-13 00:12:12.000000000
+0100
@@ -49,7 +49,7 @@
}
func New(c *config.JiraConfig, t *template.Template, l *slog.Logger, httpOpts
...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "jira",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "jira",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/mattermost/mattermost.go
new/alertmanager-0.30.1/notify/mattermost/mattermost.go
--- old/alertmanager-0.30.0/notify/mattermost/mattermost.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/mattermost/mattermost.go 2026-01-13
00:12:12.000000000 +0100
@@ -50,7 +50,7 @@
// New returns a new Mattermost notifier.
func New(c *config.MattermostConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig,
"mattermost", httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "mattermost",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/msteams/msteams.go
new/alertmanager-0.30.1/notify/msteams/msteams.go
--- old/alertmanager-0.30.0/notify/msteams/msteams.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/msteams/msteams.go 2026-01-13
00:12:12.000000000 +0100
@@ -61,7 +61,7 @@
// New returns a new notifier that uses the Microsoft Teams Webhook API.
func New(c *config.MSTeamsConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "msteams",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "msteams",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/msteamsv2/msteamsv2.go
new/alertmanager-0.30.1/notify/msteamsv2/msteamsv2.go
--- old/alertmanager-0.30.0/notify/msteamsv2/msteamsv2.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/msteamsv2/msteamsv2.go 2026-01-13
00:12:12.000000000 +0100
@@ -85,7 +85,7 @@
// New returns a new notifier that uses the Microsoft Teams Power Platform
connector.
func New(c *config.MSTeamsV2Config, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig,
"msteamsv2", httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "msteamsv2",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/opsgenie/opsgenie.go
new/alertmanager-0.30.1/notify/opsgenie/opsgenie.go
--- old/alertmanager-0.30.0/notify/opsgenie/opsgenie.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/opsgenie/opsgenie.go 2026-01-13
00:12:12.000000000 +0100
@@ -47,7 +47,7 @@
// New returns a new OpsGenie notifier.
func New(c *config.OpsGenieConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "opsgenie",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "opsgenie",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/pagerduty/pagerduty.go
new/alertmanager-0.30.1/notify/pagerduty/pagerduty.go
--- old/alertmanager-0.30.0/notify/pagerduty/pagerduty.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/pagerduty/pagerduty.go 2026-01-13
00:12:12.000000000 +0100
@@ -55,7 +55,7 @@
// New returns a new PagerDuty notifier.
func New(c *config.PagerdutyConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig,
"pagerduty", httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "pagerduty",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/pushover/pushover.go
new/alertmanager-0.30.1/notify/pushover/pushover.go
--- old/alertmanager-0.30.0/notify/pushover/pushover.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/pushover/pushover.go 2026-01-13
00:12:12.000000000 +0100
@@ -52,7 +52,7 @@
// New returns a new Pushover notifier.
func New(c *config.PushoverConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "pushover",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "pushover",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/rocketchat/rocketchat.go
new/alertmanager-0.30.1/notify/rocketchat/rocketchat.go
--- old/alertmanager-0.30.0/notify/rocketchat/rocketchat.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/rocketchat/rocketchat.go 2026-01-13
00:12:12.000000000 +0100
@@ -88,7 +88,7 @@
// New returns a new Rocketchat notification handler.
func New(c *config.RocketchatConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig,
"rocketchat", httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "rocketchat",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/slack/slack.go
new/alertmanager-0.30.1/notify/slack/slack.go
--- old/alertmanager-0.30.0/notify/slack/slack.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/slack/slack.go 2026-01-13
00:12:12.000000000 +0100
@@ -48,7 +48,7 @@
// New returns a new Slack notification handler.
func New(c *config.SlackConfig, t *template.Template, l *slog.Logger, httpOpts
...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "slack",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "slack",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/sns/sns.go
new/alertmanager-0.30.1/notify/sns/sns.go
--- old/alertmanager-0.30.0/notify/sns/sns.go 2025-12-15 17:03:26.000000000
+0100
+++ new/alertmanager-0.30.1/notify/sns/sns.go 2026-01-13 00:12:12.000000000
+0100
@@ -51,7 +51,7 @@
// New returns a new SNS notification handler.
func New(c *config.SNSConfig, t *template.Template, l *slog.Logger, httpOpts
...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "sns",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "sns",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/telegram/telegram.go
new/alertmanager-0.30.1/notify/telegram/telegram.go
--- old/alertmanager-0.30.0/notify/telegram/telegram.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/telegram/telegram.go 2026-01-13
00:12:12.000000000 +0100
@@ -44,7 +44,7 @@
// New returns a new Telegram notification handler.
func New(conf *config.TelegramConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- httpclient, err := commoncfg.NewClientFromConfig(*conf.HTTPConfig,
"telegram", httpOpts...)
+ httpclient, err := notify.NewClientWithTracing(*conf.HTTPConfig,
"telegram", httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/util.go
new/alertmanager-0.30.1/notify/util.go
--- old/alertmanager-0.30.0/notify/util.go 2025-12-15 17:03:26.000000000
+0100
+++ new/alertmanager-0.30.1/notify/util.go 2026-01-13 00:12:12.000000000
+0100
@@ -25,6 +25,7 @@
"slices"
"strings"
+ commoncfg "github.com/prometheus/common/config"
"github.com/prometheus/common/version"
"github.com/prometheus/alertmanager/template"
@@ -38,6 +39,18 @@
// UserAgentHeader is the default User-Agent for notification requests.
var UserAgentHeader = version.ComponentUserAgent("Alertmanager")
+// NewClientWithTracing creates a new HTTP client with tracing included
+// Clients are reused across requests, so tracing is configured once at
creation
+// rather than on each request.
+func NewClientWithTracing(cfg commoncfg.HTTPClientConfig, name string,
httpOpts ...commoncfg.HTTPClientOption) (*http.Client, error) {
+ client, err := commoncfg.NewClientFromConfig(cfg, name, httpOpts...)
+ if err != nil {
+ return nil, err
+ }
+ client.Transport = tracing.Transport(client.Transport)
+ return client, nil
+}
+
// RedactURL removes the URL part from an error of *url.Error type.
func RedactURL(err error) error {
var e *url.Error
@@ -77,9 +90,6 @@
req.Header.Set("Content-Type", bodyType)
}
- // Inject trancing transport
- client.Transport = tracing.Transport(client.Transport)
-
return client.Do(req.WithContext(ctx))
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/victorops/victorops.go
new/alertmanager-0.30.1/notify/victorops/victorops.go
--- old/alertmanager-0.30.0/notify/victorops/victorops.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/victorops/victorops.go 2026-01-13
00:12:12.000000000 +0100
@@ -46,7 +46,7 @@
// New returns a new VictorOps notifier.
func New(c *config.VictorOpsConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig,
"victorops", httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "victorops",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/webex/webex.go
new/alertmanager-0.30.1/notify/webex/webex.go
--- old/alertmanager-0.30.0/notify/webex/webex.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/webex/webex.go 2026-01-13
00:12:12.000000000 +0100
@@ -44,7 +44,7 @@
// New returns a new Webex notifier.
func New(c *config.WebexConfig, t *template.Template, l *slog.Logger, httpOpts
...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "webex",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "webex",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/webhook/webhook.go
new/alertmanager-0.30.1/notify/webhook/webhook.go
--- old/alertmanager-0.30.0/notify/webhook/webhook.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/webhook/webhook.go 2026-01-13
00:12:12.000000000 +0100
@@ -42,7 +42,7 @@
// New returns a new Webhook.
func New(conf *config.WebhookConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*conf.HTTPConfig,
"webhook", httpOpts...)
+ client, err := notify.NewClientWithTracing(*conf.HTTPConfig, "webhook",
httpOpts...)
if err != nil {
return nil, err
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/alertmanager-0.30.0/notify/wechat/wechat.go
new/alertmanager-0.30.1/notify/wechat/wechat.go
--- old/alertmanager-0.30.0/notify/wechat/wechat.go 2025-12-15
17:03:26.000000000 +0100
+++ new/alertmanager-0.30.1/notify/wechat/wechat.go 2026-01-13
00:12:12.000000000 +0100
@@ -71,7 +71,7 @@
// New returns a new Wechat notifier.
func New(c *config.WechatConfig, t *template.Template, l *slog.Logger,
httpOpts ...commoncfg.HTTPClientOption) (*Notifier, error) {
- client, err := commoncfg.NewClientFromConfig(*c.HTTPConfig, "wechat",
httpOpts...)
+ client, err := notify.NewClientWithTracing(*c.HTTPConfig, "wechat",
httpOpts...)
if err != nil {
return nil, err
}
++++++ alertmanager.obsinfo ++++++
--- /var/tmp/diff_new_pack.JwcCID/_old 2026-01-19 18:42:32.605076943 +0100
+++ /var/tmp/diff_new_pack.JwcCID/_new 2026-01-19 18:42:32.625077771 +0100
@@ -1,5 +1,5 @@
name: alertmanager
-version: 0.30.0
-mtime: 1765814606
-commit: ecda6777f8b67ba00ff40571c6a754c965fc1aaa
+version: 0.30.1
+mtime: 1768259532
+commit: 0ded3cbb049256f9ebe5c269020a6c883e17b78f
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/golang-github-prometheus-alertmanager/vendor.tar.gz
/work/SRC/openSUSE:Factory/.golang-github-prometheus-alertmanager.new.1928/vendor.tar.gz
differ: char 25, line 1