File golang-github-prometheus-alertmanager.changes of Package golang-github-prometheus-alertmanager
361
1
-------------------------------------------------------------------
2
Tue Feb 27 11:41:27 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
3
4
- Use %patch -P N instead of deprecated %patchN
5
6
-------------------------------------------------------------------
7
Mon Dec 11 12:15:12 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
8
9
- Do not create PIE for s390x architecture
10
11
-------------------------------------------------------------------
12
Tue Nov 21 15:32:43 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
13
14
- Rebase 0001-Default-settings.patch
15
- Drop 0002-Update-prometheus-client-to-version-1.11.1.patch
16
fixed upstream (now uses v1.15.1)
17
- Drop 0003-Update-prometheus-exporter-toolkit-to-0.7.3.patch
18
fixed upstream (now uses v0.10.0)
19
- Add 0002-Set-build-flags.patch
20
- Require Go 1.20 or newer for building
21
- Remove not used build flags
22
- Create position independent executables (PIE)
23
- Disable striping the binaries only for SLE 15 SP3
24
- Add System/Monitoring group tag
25
- Rework service file to use obscpio
26
* run tar and recompress services at buildtime
27
* do not generate automatically changelog entries
28
- Update to version 0.26.0 (jsc#PED-7353):
29
https://github.com/prometheus/alertmanager/releases/tag/v0.26.0
30
* (CVE-2023-40577, bsc#1218838): Fix stored XSS via the
31
/api/v1/alerts endpoint in the Alertmanager UI
32
* Configuration: Fix empty list of receivers and inhibit_rules
33
would cause the alertmanager to crash
34
* Templating: Fixed a race condition when using the title
35
function. It is now race-safe
36
* API: Fixed duplicate receiver names in the api/v2/receivers API
37
endpoint
38
* API: Attempting to delete a silence now returns the correct
39
status code, 404 instead of 500
40
* Clustering: Fixes a panic when tls_client_config is empty
41
* Webhook: url is now marked as a secret. It will no longer show
42
up in the logs as clear-text
43
* Metrics: New label reason for
44
alertmanager_notifications_failed_total metric to indicate the
45
type of error of the alert delivery
46
* Clustering: New flag --cluster.label, to help to block any
47
traffic that is not meant for the cluster
48
* Integrations: Add Microsoft Teams as a supported integration
49
- Update to version 0.25.0:
50
https://github.com/prometheus/alertmanager/releases/tag/v0.25.0
51
* Fail configuration loading if api_key and api_key_file are
52
defined at the same time
53
* Fix the alertmanager_alerts metric to avoid counting resolved
54
alerts as active. Also added a new alertmanager_marked_alerts
55
metric that retain the old behavior
56
* Trim contents of Slack API URLs when reading from files
57
* amtool: Avoid panic when the label value matcher is empty
58
* Fail configuration loading if api_url is empty for OpsGenie
59
* Fix email template for resolved notifications
60
* Add proxy_url support for OAuth2 in HTTP client configuration
61
* Reload TLS certificate and key from disk when updated
62
* Add Discord integration
63
* Add Webex integration
64
* Add min_version support to select the minimum TLS version in
65
HTTP client configuration
66
* Add max_version support to select the maximum TLS version in
67
HTTP client configuration
68
* Emit warning logs when truncating messages in notifications
69
* Support HEAD method for the /-/healty and /-/ready endpoints
70
* Add support for reading global and local SMTP passwords from
71
files
72
* UI: Add 'Link' button to alerts in list
73
* UI: Allow to choose the first day of the week as Sunday or
74
Monday
75
- Update to version 0.24.0:
76
https://github.com/prometheus/alertmanager/releases/tag/v0.24.0
77
* Fix HTTP client configuration for the SNS receiver
78
* Fix unclosed file descriptor after reading the silences
79
snapshot file
80
* Fix field names for mute_time_intervals in JSON marshaling
81
* Ensure that the root route doesn't have any matchers
82
* Truncate the message's title to 1024 chars to avoid hitting
83
Slack limits
84
* Fix the default HTML email template (email.default.html) to
85
match with the canonical source
86
* Detect SNS FIFO topic based on the rendered value
87
* Avoid deleting and recreating a silence when an update is
88
possible
89
* api/v2: Return 200 OK when deleting an expired silence
90
* amtool: Fix the silence's end date when adding a silence. The
91
end date is (start date + duration) while it used to be
92
(current time + duration). The new behavior is consistent with
93
the update operation
94
* Add the /api/v2 prefix to all endpoints in the OpenAPI
95
specification and generated client code
96
* Add --cluster.tls-config experimental flag to secure cluster
97
traffic via mutual TLS
98
* Add Telegram integration
99
100
-------------------------------------------------------------------
101
Fri Mar 10 10:34:36 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
102
103
- Prevent authentication bypass via cache poisoning
104
(bsc#1208051, CVE-2022-46146)
105
- Add 0003-Update-prometheus-exporter-toolkit-to-0.7.3.patch
106
107
-------------------------------------------------------------------
108
Tue Jul 19 08:10:44 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
109
110
- Do not include sources (bsc#1200725)
111
112
-------------------------------------------------------------------
113
Fri Apr 8 11:54:29 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
114
115
- Update required Go version to 1.16
116
117
-------------------------------------------------------------------
118
Thu Mar 10 15:39:10 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
119
120
- Update vendor tarball with prometheus/client_golang 1.11.1
121
(bsc#1196338, jsc#SLE-24077)
122
+ Added 0002-Update-prometheus-client-to-version-1.11.1.patch
123
- Use %autosetup macro
124
125
-------------------------------------------------------------------
126
Thu Mar 03 21:12:06 UTC 2022 - ecsos@opensuse.org
127
128
- Update to version 0.23.0:
129
* Release 0.23.0
130
* Release 0.23.0-rc.0
131
* amtool: Detect version drift and warn users (#2672)
132
* Add ability to skip TLS verification for amtool (#2663)
133
* Fix empty isEqual in amtool. (#2668)
134
* Fix main tests (#2670)
135
* cli: add new template render command (#2538)
136
* OpsGenie: refer to alert instead of incident (#2609)
137
* Docs: target_match and source_match are DEPRECATED (#2665)
138
* Fix test not waiting for cluster member to be ready
139
- Add go_modules to _service.
140
141
-------------------------------------------------------------------
142
Mon Sep 20 14:08:14 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
143
144
- Added hardening to systemd service(s) (bsc#1181400). Modified:
145
* prometheus-alertmanager.service
146
147
-------------------------------------------------------------------
148
Mon Nov 30 15:19:25 UTC 2020 - Witek Bedyk <witold.bedyk@suse.com>
149
150
- Exclude s390 architecture
151
152
-------------------------------------------------------------------
153
Mon Nov 9 16:45:52 UTC 2020 - Stefano Torresi <stefano.torresi@suse.com>
154
155
- Update packaging
156
* Remove systemd and shadow hard requirements
157
* use the system user provided by the system-user-prometheus subpackge
158
* add 'prometheus-alertmanager' package alias
159
160
-------------------------------------------------------------------
161
Fri Oct 30 16:45:34 UTC 2020 - Witek Bedyk <witold.bedyk@suse.com>
162
163
- Fix building amtool (bsc#1176943)
164
165
-------------------------------------------------------------------
166
Fri Aug 28 12:43:59 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
167
168
- Fix permissions for /var/lib/prometheus to match
169
golang-github-prometheus-prometheus package. Otherwise the install check will
170
fail.
171
172
-------------------------------------------------------------------
173
Sat Jul 18 20:24:34 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
174
175
- Update to 0.21.0
176
+ Changes:
177
* [HipChat] Remove HipChat integration as it is end-of-life. #2282
178
* [amtool] Remove default assignment of environment variables. #2161
179
* [PagerDuty] Enforce 512KB event size limit. #2225
180
+ Enhancements:
181
* [amtool] Add cluster command to show cluster and peer statuses. #2256
182
* Add redirection from / to the routes prefix when it isn't empty. #2235
183
* [Webhook] Add max_alerts option to limit the number of alerts included in the payload. #2274
184
* Improve logs for API v2, notifications and clustering. #2177 #2188 #2260 #2261 #2273
185
+ Bugfixes:
186
* Fix child routes not inheriting their parent route's grouping when group_by: [...]. #2154
187
* [UI] Fix the receiver selector in the Alerts page when the receiver name contains regular expression metacharacters such as +. #2090
188
* Fix error message about start and end time validation. #2173
189
* Fix a potential race condition in dispatcher. #2208
190
* [API v2] Return an empty array of peers when the clustering is disabled. #2203
191
* Fix the registration of alertmanager_dispatcher_aggregation_groups and alertmanager_dispatcher_alert_processing_duration_seconds metrics. #2200
192
* Always retry notifications with back-off. #2290
193
- Run spec-cleaner
194
- Remove rpm group
195
- Update to build with go1.14 for Factory (Tumbleweed)
196
- Refresh example config from upstream
197
198
-------------------------------------------------------------------
199
Fri Aug 2 06:11:53 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
200
201
- Add network-online (Wants and After) dependency to systemd unit bsc#1143913
202
203
-------------------------------------------------------------------
204
Tue Apr 16 08:15:25 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
205
206
- Update to 0.16.2
207
+ Bug Fixes:
208
* Redact notifier URL from logs to not leak secrets embedded in the URL
209
* Allow sending of unauthenticated SMTP requests when smtp_auth_username is not supplied
210
211
-------------------------------------------------------------------
212
Fri Feb 8 10:42:37 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
213
214
- Update to 0.16.1:
215
+ Bug Fixes:
216
* Do not populate cluster info if clustering is disabled in API v2
217
- Update to 0.16.0:
218
+ Deprecate API v1
219
+ Remove api/v1/alerts/groups GET endpoint
220
+ Revert Alertmanager working directory changes in Docker image back to /alertmanager
221
+ Using the recommended label syntax for maintainer in Dockerfile
222
+ Change alertmanager_notifications_total to count attempted notifications, not only successful ones (#1578)
223
+ Run as nobody inside container
224
+ Support w for weeks when creating silences, remove y for year
225
+ Features:
226
* Introduce OpenAPI generated API v2
227
* Lookup parts in strings using regexp.MatchString in templates
228
* Support image/thumb url in attachment in Slack notifier
229
* Support custom TLS certificates for the email notifier
230
* Add support for images and links in the PagerDuty notification config
231
* Add support for grouping by all labels
232
* [amtool] Add timeout support to amtool commands
233
* [amtool] Added config routes tools for vizualization and testing routes
234
* [amtool] Support adding alerts using amtool
235
+ Enhancements:
236
* Add support for --log.format
237
* Add CORS support to API v2
238
* Support HTML, URL title and custom sounds for Pushover
239
* Update Alert compact view
240
* Support adding custom fields to VictorOps notifications
241
* Add help link in UI to Alertmanager documentation
242
* Enforce HTTP or HTTPS URLs in Alertmanager config
243
* Make OpsGenie API Key a templated string
244
* Add name, value and SlackConfirmationField to action in Slack notifier
245
* Show more alert information on silence form and silence view pages
246
* Add cluster peers DNS refresh job
247
+ Bug Fixes:
248
* Fix unmarshalling of secret URLs in config
249
* Do not write groupbyall and groupby when marshaling config
250
* Make a copy of firing alerts with EndsAt=0 when flushing
251
* Respect regex matchers when recreating silences in UI
252
* Change DefaultGlobalConfig to a function in Alertmanager configuration
253
* Fix email template typo in alert-warning style
254
* Fix silence redirect on silence creation UI page
255
* Add missing callback_id parameter in Slack notifier
256
* Throw error if no auth mechanism matches in email notifier
257
* Use quoted-printable transfer encoding for the email notifier
258
* Do not merge expired gossip messages
259
* Fix "PLAIN" auth during notification via smtp-over-tls on port 465
260
* [amtool] Support for assuming first label is alertname in silence add and query
261
* [amtool] Support assuming first label is alertname in alert query with matchers
262
* [amtool] Fix config path check in amtool
263
* [amtool] Fix rfc3339 example texts
264
* [amtool] Fixed issue with loading path of a default configs
265
- Update to 0.15.3
266
+ Bug Fixes:
267
* Fix alert merging supporting both empty and set EndsAt property for firing alerts send by Prometheus
268
- Update to 0.15.2:
269
+ Enhancements:
270
* [amtool] Add support for stdin to check-config
271
* Log PagerDuty v1 response on BadRequest
272
+ Bug Fixes:
273
* Correctly encode query strings in notifiers (#1516)
274
* Add cache control headers to the API responses to avoid IE caching
275
* Avoid listener blocking on unsubscribe
276
* Fix a bunch of unhandled errors
277
* Update PagerDuty API V2 to send full details on resolve
278
* Validate URLs at config load time
279
* Fix Settle() interval
280
* Fix email to be green if only none firing
281
* Handle errors in notify
282
* Fix templating of hipchat room id
283
- Update to 0.15.1:
284
+ Bug Fixes:
285
* Fix email template typo in alert-warning style
286
* Fix regression in Pager Duty config
287
* Catch templating errors in Wechat Notify
288
* Fail when no private address can be found for cluster
289
* Make sure we don't miss the first pushPull when joining cluster
290
* Fix concurrent read and wirte group error in dispatch
291
- Update to 0.15.0:
292
+ [amtool] Update silence add and update flags
293
+ Replace deprecated InstrumentHandle
294
+ Validate Slack field config and only allow the necessary input
295
+ Remove legacy alert ingest endpoint
296
+ Move to memberlist as underlying gossip protocol including cluster flag changes from --mesh.xxx to --cluster.xxx
297
+ Move Alertmanager working directory in Docker image to /etc/alertmanager
298
+ The default group by is no labels.
299
+ Features:
300
* [amtool] Filter alerts by receiver
301
* Wait for mesh to settle before sending alerts
302
* [amtool] Support basic auth in alertmanager url
303
* Make HTTP clients used for integrations configurable
304
+ Enhancements:
305
* Support receiving alerts with end time and zero start time
306
* Sort dispatched alerts by job+instance
307
* Support alert query filters active and unprocessed
308
* [amtool] Expose alert query flags --active and --unprocessed
309
* Add Slack actions to notifications
310
+ Bug Fixes:
311
* Register nflog snapShotSize metric
312
* Sort alerts in correct order before flushing to notifiers
313
* Don't reset initial wait timer if flush is in-progress
314
* Fix resolved alerts still inhibiting
315
* Template wechat config fields
316
* Notify resolved alerts properly
317
* Fix parsing for label values with commas
318
* Hide sensitive Wechat configuration
319
* Prepopulate matchers when recreating a silence
320
* Fix wechat panic
321
* Allow empty matchers in silences/filtering
322
* Properly configure HTTP client for Wechat integration
323
324
-------------------------------------------------------------------
325
Thu Mar 15 12:46:43 UTC 2018 - jan.fajerski@suse.com
326
327
- fix config token in alermanager.yml hipchat_url -> hipchat_api_url
328
329
-------------------------------------------------------------------
330
Wed Mar 14 07:34:17 UTC 2018 - jan.fajerski@suse.com
331
332
- spec: fix argument for %fdupes
333
- Update to 0.14.0:
334
+ Enhancements:
335
* Allow templating PagerDuty receiver severity
336
* Include receiver name in failed notifications log messages
337
* Add mesh metrics
338
+ Bug fixes:
339
* Don't notify of resolved alerts if none were reported firing
340
* Notify only when new firing alerts are added
341
* Don't count alerts with EndTime in the future as resolved
342
343
-------------------------------------------------------------------
344
Thu Jan 25 11:58:41 UTC 2018 - kkaempf@suse.com
345
346
- Update to 0.13.0
347
See https://github.com/prometheus/alertmanager/releases
348
349
-------------------------------------------------------------------
350
Thu Jul 27 09:04:14 UTC 2017 - tserong@suse.com
351
352
- Add BuildRequires: fdupes
353
354
-------------------------------------------------------------------
355
Thu May 25 02:25:05 UTC 2017 - tserong@suse.com
356
357
- Initial version
358
- Adjust default settings
359
- Added:
360
* 0001-Default-settings.patch
361