| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: golang-github-prometheus-alertmanager | Distribution: openSUSE Tumbleweed |
| Version: 0.28.1 | Vendor: openSUSE |
| Release: 2.1 | Build date: Tue May 27 18:18:58 2025 |
| Group: System/Monitoring | Build host: reproducible |
| Size: 52453236 | Source RPM: golang-github-prometheus-alertmanager-0.28.1-2.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://prometheus.io/ | |
| Summary: Prometheus Alertmanager | |
The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.
Apache-2.0
* Tue May 27 2025 Witek Bedyk <witold.bedyk@suse.com>
- Security: Fix proxy bypassing using IPv6 zone IDs
(CVE-2025-22870, bsc#1238686):
* Add 0002-Bump-x-net.patch
- Use `manual` build service
- Drop Go packaging macros
- Add testing
* Fri Mar 07 2025 Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.28.1:
* [ENHANCEMENT] Improved performance of inhibition rules when
using Equal labels. #4119
* [ENHANCEMENT] Improve the documentation on escaping in UTF-8
matchers. #4157
* [ENHANCEMENT] Update alertmanager_config_hash metric help to
document the hash is not cryptographically strong. #4210
* [BUGFIX] Fix panic in amtool when using --verbose. #4218
* [BUGFIX] Fix templating of channel field for Rocket.Chat. #4220
* [BUGFIX] Fix rocketchat_configs written as rocket_configs in
docs. #4217
* [BUGFIX] Fix usage for --enable-feature flag. #4214
* [BUGFIX] Trim whitespace from OpsGenie API Key. #4195
* [BUGFIX] Fix Jira project template not rendered when searching
for existing issues. #4291
* [BUGFIX] Fix subtle bug in JSON/YAML encoding of inhibition
rules that would cause Equal labels to be omitted. #4292
* [BUGFIX] Fix header for slack_configs in docs. #4247
* [BUGFIX] Fix weight and wrap of Microsoft Teams notifications.
[#4222]
* [BUGFIX] Fix format of YAML examples in configuration.md. #4207
* Wed Jan 15 2025 Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.28.0:
* [CHANGE] Templating errors in the SNS integration now return an
error. #3531 #3879
* [CHANGE] Adopt log/slog, drop go-kit/log #4089
* [FEATURE] Add a new Microsoft Teams integration based on Flows
[#4024]
* [FEATURE] Add a new Rocket.Chat integration #3600
* [FEATURE] Add a new Jira integration #3590 #3931
* [FEATURE] Add support for GOMEMLIMIT, enable it via the feature
flag --enable-feature=auto-gomemlimit. #3895
* [FEATURE] Add support for GOMAXPROCS, enable it via the feature
flag --enable-feature=auto-gomaxprocs. #3837
* [FEATURE] Add support for limits of silences including the
maximum number of active and pending silences, and the maximum
size per silence (in bytes). You can use the flags
- -silences.max-silences and --silences.max-silence-size-bytes
to set them accordingly #3852 #3862 #3866 #3885 #3886 #3877
* [FEATURE] Muted alerts now show whether they are suppressed or
not in both the /api/v2/alerts endpoint and the Alertmanager
UI. #3793 #3797 #3792
* [ENHANCEMENT] Add support for content, username and avatar_url
in the Discord integration. content and username also support
templating. #4007
* [ENHANCEMENT] Only invalidate the silences cache if a new
silence is created or an existing silence replaced - should
improve latency on both GET api/v2/alerts and POST
api/v2/alerts API endpoint. #3961
* [ENHANCEMENT] Add image source label to Dockerfile. To get
changelogs shown when using Renovate #4062
* [ENHANCEMENT] Build using go 1.23 #4071
* [ENHANCEMENT] Support setting a global SMTP TLS configuration.
[#3732]
* [ENHANCEMENT] The setting room_id in the WebEx integration can
now be templated to allow for dynamic room IDs. #3801
* [ENHANCEMENT] Enable setting message_thread_id for the Telegram
integration. #3638
* [ENHANCEMENT] Support the since and humanizeDuration functions
to templates. This means users can now format time to more
human-readable text. #3863
* [ENHANCEMENT] Support the date and tz functions to templates.
This means users can now format time in a specified format and
also change the timezone to their specific locale. #3812
* [ENHANCEMENT] Latency metrics now support native histograms.
[#3737]
* [ENHANCEMENT] Add full width to adaptive card for msteamsv2
[#4135]
* [ENHANCEMENT] Add timeout option for webhook notifier. #4137
* [ENHANCEMENT] Update config to allow showing secret values when
marshaled #4158
* [ENHANCEMENT] Enable templating for Jira project and issue_type
[#4159]
* [BUGFIX] Fix the SMTP integration not correctly closing an SMTP
submission, which may lead to unsuccessful dispatches being
marked as successful. #4006
* [BUGFIX] The ParseMode option is now set explicitly in the
Telegram integration. If we don't HTML tags had not been parsed
by default. #4027
* [BUGFIX] Fix a memory leak that was caused by updates silences
continuously. #3930
* [BUGFIX] Fix hiding secret URLs when the URL is incorrect.
[#3887]
* [BUGFIX] Fix a race condition in the alerts - it was more of a
hypothetical race condition that could have occurred in the
alert reception pipeline. #3648
* [BUGFIX] Fix a race condition in the alert delivery pipeline
that would cause a firing alert that was delivered earlier to
be deleted from the aggregation group when instead it should
have been delivered again. #3826
* [BUGFIX] Fix version in APIv1 deprecation notice. #3815
* [BUGFIX] Fix crash errors when using url_file in the Webhook
integration. #3800
* [BUGFIX] fix Route.ID() returns conflicting IDs. #3803
* [BUGFIX] Fix deadlock on the alerts memory store. #3715
* [BUGFIX] Fix amtool template render when using the default
values. #3725
* [BUGFIX] Fix webhook_url_file for both the Discord and
Microsoft Teams integrations. #3728 #3745
* [BUGFIX] Fix wechat api link #4084
* [BUGFIX] Fix build info metric #4166
* [BUGFIX] Fix UTF-8 not allowed in Equal field for inhibition
rules #4177
- rebase patch 0001-Default-settings.patch to get it to apply
cleanly
- remove patch 0002-Set-build-flags.patch and instead set GO_FLAGS
environment variable in the spec file
* Mon Mar 18 2024 Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 0.27.0:
* [CHANGE] Discord Integration: Enforce max length in message.
[#3597]
* [CHANGE] API: Removal of all api/v1/ endpoints. These endpoints
now log and return a deprecation message and respond with a
status code of 410. #2970
* [FEATURE] UTF-8 Support: Introduction of support for any UTF-8
character as part of label names and matchers. Please read more
below. #3453, #3483, #3567, #3570
* [FEATURE] Metrics: Introduced the experimental feature flag
- -enable-feature=receiver-name-in-metrics to include the
receiver name in the following metrics: #3045
alertmanager_notifications_total,
alertmanager_notifications_failed_totall,
alertmanager_notification_requests_total,
alertmanager_notification_requests_failed_total,
alertmanager_notification_latency_seconds
* [FEATURE] Metrics: Introduced a new gauge named
alertmanager_inhibition_rules that counts the number of
configured inhibition rules. #3681
* [FEATURE] Metrics: Introduced a new counter named
alertmanager_alerts_supressed_total that tracks muted alerts,
it contains a reason label to indicate the source of the mute.
[#3565]
* [ENHANCEMENT] Discord Integration: Introduced support for
webhook_url_file. #3555
* [ENHANCEMENT] Microsoft Teams Integration: Introduced support
for webhook_url_file. #3555
* [ENHANCEMENT] Microsoft Teams Integration: Add support for
summary. #3616
* [ENHANCEMENT] Metrics: Notification metrics now support two new
values for the label reason, contextCanceled and
contextDeadlineExceeded. #3631
* [ENHANCEMENT] Email Integration: Contents of auth_password_file
are now trimmed of prefixed and suffixed whitespace. #3680
* [BUGFIX] amtool: Fixes the error scheme required for webhook
url when using amtool with --alertmanager.url. #3509
* [BUGFIX] Mixin: Fix AlertmanagerFailedToSendAlerts,
AlertmanagerClusterFailedToSendAlerts, and
AlertmanagerClusterFailedToSendAlerts to make sure they ignore
the reason label. #3599
* Removal of API v1
The Alertmanager v1 API has been deprecated since January 2019
with the release of Alertmanager v0.16.0. With the release of
version 0.27.0 it is now removed.
A successful HTTP request to any of the v1 endpoints will log
and return a deprecation message while responding with a status
code of 410.
Please ensure you switch to the v2 equivalent endpoint in your
integrations before upgrading.
* Alertmanager support for all UTF-8 characters in matchers and
label names
Starting with Alertmanager v0.27.0, we have a new parser for
matchers that has a number of backwards incompatible changes.
While most matchers will be forward-compatible, some will not.
Alertmanager is operating a transition period where it supports
both UTF-8 and classic matchers, so it's entirely safe to
upgrade without any additional configuration. With that said,
we recommend the following:
If this is a new Alertmanager installation, we recommend
enabling UTF-8 strict mode before creating an Alertmanager
configuration file. You can enable strict mode with
alertmanager --config.file=config.yml
- -enable-feature="utf8-strict-mode".
If this is an existing Alertmanager installation, we recommend
running the Alertmanager in the default mode called fallback
mode before enabling UTF-8 strict mode. In this mode,
Alertmanager will log a warning if you need to make any changes
to your configuration file before UTF-8 strict mode can be
enabled. Alertmanager will make UTF-8 strict mode the default
in the next two versions, so it's important to transition as
soon as possible.
Irrespective of whether an Alertmanager installation is a new
or existing installation, you can also use amtool to validate
that an Alertmanager configuration file is compatible with
UTF-8 strict mode before enabling it in Alertmanager server by
running amtool check-config config.yml and inspecting the log
messages.
Should you encounter any problems, you can run the Alertmanager
with just the classic parser enabled by running alertmanager
- -config.file=config.yml --enable-feature="classic-mode". If
so, please submit a bug report via GitHub issues.
* Tue Feb 27 2024 Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
* Mon Dec 11 2023 Witek Bedyk <witold.bedyk@suse.com>
- Do not create PIE for s390x architecture
* Tue Nov 21 2023 Witek Bedyk <witold.bedyk@suse.com>
- Add 0002-Set-build-flags.patch
- Require Go 1.20 or newer for building
- Remove not used build flags
- Create position independent executables (PIE)
- Do not disable stripping the binaries
- Add System/Monitoring group tag
- Do not generate automatically changelog entries
* Mon Aug 28 2023 daniel@molkentin.de
- Update to version 0.26.0:
* (CVE-2023-40577, bsc#1218838): Fix stored XSS via the
/api/v1/alerts endpoint in the Alertmanager UI
* Fast Forward the `main` branch to align with 0.26
* Check the validity of the generatorURL field
* Fix year in 0.26.0-rc.0 entry (#3468)
* Release: fix the version formatting (#3467)
* Revert "Release: Fix version format (#3465)" (#3466)
* Release: Fix version format (#3465)
* Cut v0.26.0 rc.0 (#3447)
* Update docs for slack_config (#3455)
* Treat error response payloads from Slack as errors (#3121)
* Bump github.com/benbjohnson/clock from 1.3.3 to 1.3.5 (#3434)
* Bump github.com/go-openapi/errors from 0.20.3 to 0.20.4 (#3413)
* Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#3414)
* Bump github.com/aws/aws-sdk-go from 1.44.234 to 1.44.317 (#3448)
* if 9093/9094 port is in use, test case will fail (#3320)
* Log the GroupKey and alerts in retry (#3438)
* Update email assets after #3420 (#3440)
* cluster: fix panic when `tls_client_config` is empty
* update the circleCI go orb
* Mixin: Pin the mixtool version in CircleCI
* Update email.html to use "https://schema.org" instead of "https://schema.org" (#3420)
* Bump github.com/prometheus/common from 0.42.0 to 0.44.0
* Build with Go 1.20
* Fix example matchers in docs
* Update common Prometheus files
* fixing the field name for pagerduty image_config as per code https://pkg.go.dev/github.com/prometheus/alertmanager/config\#PagerdutyImage
* Log a warning when repeat_interval is less than group_interval (#3389)
* Add msteams (#3324)
* Document difference between tab and newline in tests (#3383)
* Bump github.com/prometheus/exporter-toolkit from 0.9.1 to 0.10.0
* Bump github.com/cenkalti/backoff/v4 from 4.2.0 to 4.2.1
* Bump github.com/go-openapi/runtime from 0.25.0 to 0.26.0
* Bump go.uber.org/atomic from 1.10.0 to 1.11.0
* Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
* Bump golang.org/x/net from 0.8.0 to 0.10.0
* notify/webhook: trim space from url_file content
* Add more tests to TestMatchers (#3362)
* Add tests to TestMatchers (#3357)
* Cluster: Add memberlist label configuration option (#3354)
* api/v2: Delete silence respond with 404 when silence is not found (#3352)
* Add support for pushover devices (#3318)
* Slack Notifier: Only return an error when it actually occurs (#3350)
* Bump golang.org/x/text from 0.8.0 to 0.9.0
* Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
* Bump github.com/benbjohnson/clock from 1.3.0 to 1.3.3
* Bump github.com/rs/cors from 1.8.3 to 1.9.0
* Bump gopkg.in/telebot.v3 from 3.1.2 to 3.1.3
* fix: change receiver model pointer to value (#3338)
* add reason code to slack notifier (#3252)
* fix wechat notifier response field name (#3330)
* add reason code to notifiers (#3307)
* Bump github.com/aws/aws-sdk-go from 1.44.211 to 1.44.234
* Bump github.com/go-openapi/strfmt from 0.21.3 to 0.21.7
* Bump github.com/hashicorp/golang-lru/v2 from 2.0.1 to 2.0.2
* Bump golang.org/x/tools from 0.6.0 to 0.7.0
* docs: document the new proxy-related settings
* Update common Prometheus files
* Add receiver name to the alerts page (#3289)
* Update gopkg.in/alecthomas/kingpin.v2 to github.com/alecthomas/kingpin/v2
* Metrics: Silence maintenance success and failure (#3285)
* Metrics: Notification log maintenance success and failure (#3286)
* Fix comments as per Josh's feedback (#3284)
* Fix corruption in templates that use title function (#3278)
* Added note on data retention to documentation for repeat_interval (#3147)
* Make TrimSpace available for use in the template (#3281)
* support loading webhook URL from a file (#3223)
* Bump golang.org/x/tools from 0.4.0 to 0.6.0
* Bump github.com/go-openapi/validate from 0.22.0 to 0.22.1 (#3269)
* Bump golang.org/x/text from 0.6.0 to 0.7.0
* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2
* Bump github.com/aws/aws-sdk-go from 1.44.191 to 1.44.211
* replace atomic for uber fix atomic
* Fix silences flaky test
* Seperate the template creating functions for as-lib use (#3225)
* fix gracefully-exiting stuck due to adding one more for `WaitGroup` (#3260)
* Update common Prometheus files (#3257)
* Add `--id` flag to `amtool silence query` (#3241)
* Implement Stringer interface for Pairs and KVs (#3256)
* Set cache control headers in V2 API to mirror V1 (#3195)
* add status code label to the numTotalFailedNotifications metric (#3094)
* mark webhook URL as a secret (#3228)
* Bump golang.org/x/net from 0.4.0 to 0.5.0
* Bump github.com/aws/aws-sdk-go from 1.44.171 to 1.44.191
* Bump golang.org/x/text from 0.5.0 to 0.6.0
* Bump github.com/gofrs/uuid from 4.3.1+incompatible to 4.4.0+incompatible
* Bump github.com/go-openapi/spec from 0.20.7 to 0.20.8
* Support loading Telegram bot token from file
* Update common Prometheus files
* Refactor nflog configuration options to make it similar to Silences. (#3220)
* support loading pushover secrets from files (#3200)
* Multiple improvements to Alertmanager configuration docs
* Changes receiver and inhibition rules arrays to slices of value items
* test: reduce flakiness of acceptance tests
* Add missing docs for Discord notifier
* Bump github.com/rs/cors from 1.8.2 to 1.8.3
* Bump github.com/aws/aws-sdk-go from 1.44.162 to 1.44.171
* Telegram default parse_mode has been changed to HTML
* Synchronize common files from prometheus/prometheus (#3191)
* bump:hashicorp/golang-lru to v2,aws-sdk-go,prometheus/common (#3182)
* feat: add template.FromGlobsWithAdditionalFuncs (#3174)
* Fixup: make signal handlers a bit simpler.
* Wed Mar 22 2023 Johannes Kastl <kastl@b1-systems.de>
- rework spec file to use obscpio
- run tar and recompress services at buildtime
* Wed Feb 15 2023 Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 0.25.0:
* New notifier: Webex
* telegram: use HTML template with HTML parse mode
* Add support for reading VictorOps API key from file
* Add support for reading PagerDuty secrets from files
* Add timezone support to time intervals.
* Allow first day of week to be Sunday or Monday
* Enable HTTP 2 again
* Secure cluster traffic via mutual TLS
* EmailConfig: Use CanonicalMIMEHeaderKey instead of TitleCasing for headers
* Reduce memory utilization in downstream projects creating
multiple Alertmanager instances
* Correcting the condition for updating a silence
Earlier was checking upto nanosecond precision but reduced to second
as the UI only sends upto millisecond
* Remove the dedicated field to APIURL in favour of the configuration one
* Remove the `bot_token`
* Fix casing in victorops log message
* Fix one last log level that I missed
* Fix email template for resolved notifications
* Update documentation
* Update dependencies
- Update required Go version to 1.19
- Rebased 0001-Default-settings.patch
- Drop 0002-Update-prometheus-client-to-version-1.11.1.patch
fixed upstream (now uses v1.14.0)
* Tue Jul 19 2022 Witek Bedyk <witold.bedyk@suse.com>
- Do not include sources (bsc#1200725)
* Fri Apr 08 2022 Witek Bedyk <witold.bedyk@suse.com>
- Update required Go version to 1.16
* Thu Mar 10 2022 Witek Bedyk <witold.bedyk@suse.com>
- Update vendor tarball with prometheus/client_golang 1.11.1
(bsc#1196338, jsc#SLE-24077)
+ Added 0002-Update-prometheus-client-to-version-1.11.1.patch
- Use %autosetup macro
* Thu Mar 03 2022 ecsos@opensuse.org
- Update to version 0.23.0:
* Release 0.23.0
* Release 0.23.0-rc.0
* amtool: Detect version drift and warn users (#2672)
* Add ability to skip TLS verification for amtool (#2663)
* Fix empty isEqual in amtool. (#2668)
* Fix main tests (#2670)
* cli: add new template render command (#2538)
* OpsGenie: refer to alert instead of incident (#2609)
* Docs: target_match and source_match are DEPRECATED (#2665)
* Fix test not waiting for cluster member to be ready
- Add go_modules to _service.
/etc/prometheus /etc/prometheus/alertmanager.yml /etc/prometheus/alertmanager_templates /usr/bin/amtool /usr/bin/prometheus-alertmanager /usr/lib/systemd/system/prometheus-alertmanager.service /usr/sbin/rcprometheus-alertmanager /usr/share/doc/packages/golang-github-prometheus-alertmanager /usr/share/doc/packages/golang-github-prometheus-alertmanager/README.md /usr/share/licenses/golang-github-prometheus-alertmanager /usr/share/licenses/golang-github-prometheus-alertmanager/LICENSE /var/lib/prometheus /var/lib/prometheus/alertmanager
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Oct 23 22:49:34 2025