* Mon Dec 11 2023 witold.bedyk@suse.com
- Do not create PIE for s390x architecture
* Tue Nov 21 2023 witold.bedyk@suse.com
- Rebase 0001-Default-settings.patch
- Drop 0002-Update-prometheus-client-to-version-1.11.1.patch
fixed upstream (now uses v1.15.1)
- Drop 0003-Update-prometheus-exporter-toolkit-to-0.7.3.patch
fixed upstream (now uses v0.10.0)
- Add 0002-Set-build-flags.patch
- Require Go 1.20 or newer for building
- Remove not used build flags
- Create position independent executables (PIE)
- Disable striping the binaries only for SLE 15 SP3
- Add System/Monitoring group tag
- Rework service file to use obscpio
* run tar and recompress services at buildtime
* do not generate automatically changelog entries
- Update to version 0.26.0 (jsc#PED-7353):
https://github.com/prometheus/alertmanager/releases/tag/v0.26.0
* (CVE-2023-40577, bsc#1218838): Fix stored XSS via the
/api/v1/alerts endpoint in the Alertmanager UI
* Configuration: Fix empty list of receivers and inhibit_rules
would cause the alertmanager to crash
* Templating: Fixed a race condition when using the title
function. It is now race-safe
* API: Fixed duplicate receiver names in the api/v2/receivers API
endpoint
* API: Attempting to delete a silence now returns the correct
status code, 404 instead of 500
* Clustering: Fixes a panic when tls_client_config is empty
* Webhook: url is now marked as a secret. It will no longer show
up in the logs as clear-text
* Metrics: New label reason for
alertmanager_notifications_failed_total metric to indicate the
type of error of the alert delivery
* Clustering: New flag --cluster.label, to help to block any
traffic that is not meant for the cluster
* Integrations: Add Microsoft Teams as a supported integration
- Update to version 0.25.0:
https://github.com/prometheus/alertmanager/releases/tag/v0.25.0
* Fail configuration loading if api_key and api_key_file are
defined at the same time
* Fix the alertmanager_alerts metric to avoid counting resolved
alerts as active. Also added a new alertmanager_marked_alerts
metric that retain the old behavior
* Trim contents of Slack API URLs when reading from files
* amtool: Avoid panic when the label value matcher is empty
* Fail configuration loading if api_url is empty for OpsGenie
* Fix email template for resolved notifications
* Add proxy_url support for OAuth2 in HTTP client configuration
* Reload TLS certificate and key from disk when updated
* Add Discord integration
* Add Webex integration
* Add min_version support to select the minimum TLS version in
HTTP client configuration
* Add max_version support to select the maximum TLS version in
HTTP client configuration
* Emit warning logs when truncating messages in notifications
* Support HEAD method for the /-/healty and /-/ready endpoints
* Add support for reading global and local SMTP passwords from
files
* UI: Add 'Link' button to alerts in list
* UI: Allow to choose the first day of the week as Sunday or
Monday
- Update to version 0.24.0:
https://github.com/prometheus/alertmanager/releases/tag/v0.24.0
* Fix HTTP client configuration for the SNS receiver
* Fix unclosed file descriptor after reading the silences
snapshot file
* Fix field names for mute_time_intervals in JSON marshaling
* Ensure that the root route doesn't have any matchers
* Truncate the message's title to 1024 chars to avoid hitting
Slack limits
* Fix the default HTML email template (email.default.html) to
match with the canonical source
* Detect SNS FIFO topic based on the rendered value
* Avoid deleting and recreating a silence when an update is
possible
* api/v2: Return 200 OK when deleting an expired silence
* amtool: Fix the silence's end date when adding a silence. The
end date is (start date + duration) while it used to be
(current time + duration). The new behavior is consistent with
the update operation
* Add the /api/v2 prefix to all endpoints in the OpenAPI
specification and generated client code
* Add --cluster.tls-config experimental flag to secure cluster
traffic via mutual TLS
* Add Telegram integration
Version: 0.23.0-150100.4.16.2
* Fri Mar 10 2023 witold.bedyk@suse.com
- Prevent authentication bypass via cache poisoning
(bsc#1208051, CVE-2022-46146)
- Add 0003-Update-prometheus-exporter-toolkit-to-0.7.3.patch
* Tue Jul 19 2022 witold.bedyk@suse.com
- Do not include sources (bsc#1200725)
* Fri Apr 08 2022 witold.bedyk@suse.com
- Update required Go version to 1.16
* Thu Mar 10 2022 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.
* Mon Sep 20 2021 jsegitz@suse.com
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* prometheus-alertmanager.service
* Mon Nov 30 2020 witold.bedyk@suse.com
- Exclude s390 architecture
* Mon Nov 09 2020 stefano.torresi@suse.com
- Update packaging
* Remove systemd and shadow hard requirements
* use the system user provided by the system-user-prometheus subpackge
* add 'prometheus-alertmanager' package alias
* Fri Oct 30 2020 witold.bedyk@suse.com
- Fix building amtool (bsc#1176943)
* Fri Aug 28 2020 elimat@opensuse.org
- Fix permissions for /var/lib/prometheus to match
golang-github-prometheus-prometheus package. Otherwise the install check will
fail.
* Sat Jul 18 2020 elimat@opensuse.org
- Update to 0.21.0
+ Changes:
* [HipChat] Remove HipChat integration as it is end-of-life. #2282
* [amtool] Remove default assignment of environment variables. #2161
* [PagerDuty] Enforce 512KB event size limit. #2225
+ Enhancements:
* [amtool] Add cluster command to show cluster and peer statuses. #2256
* Add redirection from / to the routes prefix when it isn't empty. #2235
* [Webhook] Add max_alerts option to limit the number of alerts included in the payload. #2274
* Improve logs for API v2, notifications and clustering. #2177 #2188 #2260 #2261 #2273
+ Bugfixes:
* Fix child routes not inheriting their parent route's grouping when group_by: [...]. #2154
* [UI] Fix the receiver selector in the Alerts page when the receiver name contains regular expression metacharacters such as +. #2090
* Fix error message about start and end time validation. #2173
* Fix a potential race condition in dispatcher. #2208
* [API v2] Return an empty array of peers when the clustering is disabled. #2203
* Fix the registration of alertmanager_dispatcher_aggregation_groups and alertmanager_dispatcher_alert_processing_duration_seconds metrics. #2200
* Always retry notifications with back-off. #2290
- Run spec-cleaner
- Remove rpm group
- Update to build with go1.14 for Factory (Tumbleweed)
- Refresh example config from upstream
* Fri Aug 02 2019 jan.fajerski@suse.com
- Add network-online (Wants and After) dependency to systemd unit bsc#1143913
* Tue Apr 16 2019 jan.fajerski@suse.com
- Update to 0.16.2
+ Bug Fixes:
* Redact notifier URL from logs to not leak secrets embedded in the URL
* Allow sending of unauthenticated SMTP requests when smtp_auth_username is not supplied
* Fri Feb 08 2019 jan.fajerski@suse.com
- Update to 0.16.1:
+ Bug Fixes:
* Do not populate cluster info if clustering is disabled in API v2
- Update to 0.16.0:
+ Deprecate API v1
+ Remove api/v1/alerts/groups GET endpoint
+ Revert Alertmanager working directory changes in Docker image back to /alertmanager
+ Using the recommended label syntax for maintainer in Dockerfile
+ Change alertmanager_notifications_total to count attempted notifications, not only successful ones (#1578)
+ Run as nobody inside container
+ Support w for weeks when creating silences, remove y for year
+ Features:
* Introduce OpenAPI generated API v2
* Lookup parts in strings using regexp.MatchString in templates
* Support image/thumb url in attachment in Slack notifier
* Support custom TLS certificates for the email notifier
* Add support for images and links in the PagerDuty notification config
* Add support for grouping by all labels
* [amtool] Add timeout support to amtool commands
* [amtool] Added config routes tools for vizualization and testing routes
* [amtool] Support adding alerts using amtool
+ Enhancements:
* Add support for --log.format
* Add CORS support to API v2
* Support HTML, URL title and custom sounds for Pushover
* Update Alert compact view
* Support adding custom fields to VictorOps notifications
* Add help link in UI to Alertmanager documentation
* Enforce HTTP or HTTPS URLs in Alertmanager config
* Make OpsGenie API Key a templated string
* Add name, value and SlackConfirmationField to action in Slack notifier
* Show more alert information on silence form and silence view pages
* Add cluster peers DNS refresh job
+ Bug Fixes:
* Fix unmarshalling of secret URLs in config
* Do not write groupbyall and groupby when marshaling config
* Make a copy of firing alerts with EndsAt=0 when flushing
* Respect regex matchers when recreating silences in UI
* Change DefaultGlobalConfig to a function in Alertmanager configuration
* Fix email template typo in alert-warning style
* Fix silence redirect on silence creation UI page
* Add missing callback_id parameter in Slack notifier
* Throw error if no auth mechanism matches in email notifier
* Use quoted-printable transfer encoding for the email notifier
* Do not merge expired gossip messages
* Fix "PLAIN" auth during notification via smtp-over-tls on port 465
* [amtool] Support for assuming first label is alertname in silence add and query
* [amtool] Support assuming first label is alertname in alert query with matchers
* [amtool] Fix config path check in amtool
* [amtool] Fix rfc3339 example texts
* [amtool] Fixed issue with loading path of a default configs
- Update to 0.15.3
+ Bug Fixes:
* Fix alert merging supporting both empty and set EndsAt property for firing alerts send by Prometheus
- Update to 0.15.2:
+ Enhancements:
* [amtool] Add support for stdin to check-config
* Log PagerDuty v1 response on BadRequest
+ Bug Fixes:
* Correctly encode query strings in notifiers (#1516)
* Add cache control headers to the API responses to avoid IE caching
* Avoid listener blocking on unsubscribe
* Fix a bunch of unhandled errors
* Update PagerDuty API V2 to send full details on resolve
* Validate URLs at config load time
* Fix Settle() interval
* Fix email to be green if only none firing
* Handle errors in notify
* Fix templating of hipchat room id
- Update to 0.15.1:
+ Bug Fixes:
* Fix email template typo in alert-warning style
* Fix regression in Pager Duty config
* Catch templating errors in Wechat Notify
* Fail when no private address can be found for cluster
* Make sure we don't miss the first pushPull when joining cluster
* Fix concurrent read and wirte group error in dispatch
- Update to 0.15.0:
+ [amtool] Update silence add and update flags
+ Replace deprecated InstrumentHandle
+ Validate Slack field config and only allow the necessary input
+ Remove legacy alert ingest endpoint
+ Move to memberlist as underlying gossip protocol including cluster flag changes from --mesh.xxx to --cluster.xxx
+ Move Alertmanager working directory in Docker image to /etc/alertmanager
+ The default group by is no labels.
+ Features:
* [amtool] Filter alerts by receiver
* Wait for mesh to settle before sending alerts
* [amtool] Support basic auth in alertmanager url
* Make HTTP clients used for integrations configurable
+ Enhancements:
* Support receiving alerts with end time and zero start time
* Sort dispatched alerts by job+instance
* Support alert query filters active and unprocessed
* [amtool] Expose alert query flags --active and --unprocessed
* Add Slack actions to notifications
+ Bug Fixes:
* Register nflog snapShotSize metric
* Sort alerts in correct order before flushing to notifiers
* Don't reset initial wait timer if flush is in-progress
* Fix resolved alerts still inhibiting
* Template wechat config fields
* Notify resolved alerts properly
* Fix parsing for label values with commas
* Hide sensitive Wechat configuration
* Prepopulate matchers when recreating a silence
* Fix wechat panic
* Allow empty matchers in silences/filtering
* Properly configure HTTP client for Wechat integration
Version: 0.16.2-bp151.1.1
* Tue Apr 16 2019 Jan Fajerski <jan.fajerski@suse.com>
- Update to 0.16.2
+ Bug Fixes:
* Redact notifier URL from logs to not leak secrets embedded in the URL
* Allow sending of unauthenticated SMTP requests when smtp_auth_username is not supplied
* Fri Feb 08 2019 Jan Fajerski <jan.fajerski@suse.com>
- Update to 0.16.1:
+ Bug Fixes:
* Do not populate cluster info if clustering is disabled in API v2
- Update to 0.16.0:
+ Deprecate API v1
+ Remove api/v1/alerts/groups GET endpoint
+ Revert Alertmanager working directory changes in Docker image back to /alertmanager
+ Using the recommended label syntax for maintainer in Dockerfile
+ Change alertmanager_notifications_total to count attempted notifications, not only successful ones (#1578)
+ Run as nobody inside container
+ Support w for weeks when creating silences, remove y for year
+ Features:
* Introduce OpenAPI generated API v2
* Lookup parts in strings using regexp.MatchString in templates
* Support image/thumb url in attachment in Slack notifier
* Support custom TLS certificates for the email notifier
* Add support for images and links in the PagerDuty notification config
* Add support for grouping by all labels
* [amtool] Add timeout support to amtool commands
* [amtool] Added config routes tools for vizualization and testing routes
* [amtool] Support adding alerts using amtool
+ Enhancements:
* Add support for --log.format
* Add CORS support to API v2
* Support HTML, URL title and custom sounds for Pushover
* Update Alert compact view
* Support adding custom fields to VictorOps notifications
* Add help link in UI to Alertmanager documentation
* Enforce HTTP or HTTPS URLs in Alertmanager config
* Make OpsGenie API Key a templated string
* Add name, value and SlackConfirmationField to action in Slack notifier
* Show more alert information on silence form and silence view pages
* Add cluster peers DNS refresh job
+ Bug Fixes:
* Fix unmarshalling of secret URLs in config
* Do not write groupbyall and groupby when marshaling config
* Make a copy of firing alerts with EndsAt=0 when flushing
* Respect regex matchers when recreating silences in UI
* Change DefaultGlobalConfig to a function in Alertmanager configuration
* Fix email template typo in alert-warning style
* Fix silence redirect on silence creation UI page
* Add missing callback_id parameter in Slack notifier
* Throw error if no auth mechanism matches in email notifier
* Use quoted-printable transfer encoding for the email notifier
* Do not merge expired gossip messages
* Fix "PLAIN" auth during notification via smtp-over-tls on port 465
* [amtool] Support for assuming first label is alertname in silence add and query
* [amtool] Support assuming first label is alertname in alert query with matchers
* [amtool] Fix config path check in amtool
* [amtool] Fix rfc3339 example texts
* [amtool] Fixed issue with loading path of a default configs
- Update to 0.15.3
+ Bug Fixes:
* Fix alert merging supporting both empty and set EndsAt property for firing alerts send by Prometheus
- Update to 0.15.2:
+ Enhancements:
* [amtool] Add support for stdin to check-config
* Log PagerDuty v1 response on BadRequest
+ Bug Fixes:
* Correctly encode query strings in notifiers (#1516)
* Add cache control headers to the API responses to avoid IE caching
* Avoid listener blocking on unsubscribe
* Fix a bunch of unhandled errors
* Update PagerDuty API V2 to send full details on resolve
* Validate URLs at config load time
* Fix Settle() interval
* Fix email to be green if only none firing
* Handle errors in notify
* Fix templating of hipchat room id
- Update to 0.15.1:
+ Bug Fixes:
* Fix email template typo in alert-warning style
* Fix regression in Pager Duty config
* Catch templating errors in Wechat Notify
* Fail when no private address can be found for cluster
* Make sure we don't miss the first pushPull when joining cluster
* Fix concurrent read and wirte group error in dispatch
- Update to 0.15.0:
+ [amtool] Update silence add and update flags
+ Replace deprecated InstrumentHandle
+ Validate Slack field config and only allow the necessary input
+ Remove legacy alert ingest endpoint
+ Move to memberlist as underlying gossip protocol including cluster flag changes from --mesh.xxx to --cluster.xxx
+ Move Alertmanager working directory in Docker image to /etc/alertmanager
+ The default group by is no labels.
+ Features:
* [amtool] Filter alerts by receiver
* Wait for mesh to settle before sending alerts
* [amtool] Support basic auth in alertmanager url
* Make HTTP clients used for integrations configurable
+ Enhancements:
* Support receiving alerts with end time and zero start time
* Sort dispatched alerts by job+instance
* Support alert query filters active and unprocessed
* [amtool] Expose alert query flags --active and --unprocessed
* Add Slack actions to notifications
+ Bug Fixes:
* Register nflog snapShotSize metric
* Sort alerts in correct order before flushing to notifiers
* Don't reset initial wait timer if flush is in-progress
* Fix resolved alerts still inhibiting
* Template wechat config fields
* Notify resolved alerts properly
* Fix parsing for label values with commas
* Hide sensitive Wechat configuration
* Prepopulate matchers when recreating a silence
* Fix wechat panic
* Allow empty matchers in silences/filtering
* Properly configure HTTP client for Wechat integration
* Thu Mar 15 2018 jan.fajerski@suse.com
- fix config token in alermanager.yml hipchat_url -> hipchat_api_url
* Wed Mar 14 2018 jan.fajerski@suse.com
- spec: fix argument for %fdupes
- Update to 0.14.0:
+ Enhancements:
* Allow templating PagerDuty receiver severity
* Include receiver name in failed notifications log messages
* Add mesh metrics
+ Bug fixes:
* Don't notify of resolved alerts if none were reported firing
* Notify only when new firing alerts are added
* Don't count alerts with EndTime in the future as resolved
* Thu Jan 25 2018 kkaempf@suse.com
- Update to 0.13.0
See https://github.com/prometheus/alertmanager/releases
* Thu Jul 27 2017 tserong@suse.com
- Add BuildRequires: fdupes
* Thu May 25 2017 tserong@suse.com
- Initial version
- Adjust default settings
- Added:
* 0001-Default-settings.patch