File golang-github-prometheus-alertmanager.changes of Package golang-github-prometheus-alertmanager
-------------------------------------------------------------------
Sat Dec 24 13:02:38 UTC 2022 - michael@stroeder.com
- rebased 0001-Default-settings.patch
- Update to version 0.25.0:
* telegram: use HTML template with HTML parse mode
* Run 'build_all' job for v0.y tags
* Bump Docker version for remote Docker
* doc: update with new HTTP configuration options
* Doc changes requested by review
* Remove the dedicated field to APIURL in favour of the configuration one
* Remove the `bot_token`
* Add the webex documentation
* Rename message to markwdown on the webex notifier
* Rename key to max_runes
* Fix casing in victorops log message
* Fix one last log level that I missed
* Also log the length that values were truncated to
* Adjust degenerate log message in telegram notifier
* Avoid logging the entire message after truncation
* Change truncation log level to warn
* Do not build with netgo on Windows
* Update common Prometheus files
* Bump Go dependencies
* feat: switch to LoadHTTPConfigFile from common
* Fix email template for resolved notifications
* Add check for templated Opsgenie receiver config (#3060)
* Bump golang.org/x/mod from 0.6.0 to 0.7.0
* Bump golang.org/x/net from 0.1.0 to 0.2.0
* Bump github.com/cenkalti/backoff/v4 from 4.1.3 to 4.2.0
* Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
* Update Go to 1.19 (#3150)
* Bump to v0.8.2
* Update code to match changes in exporter-toolkit
* Bump github.com/prometheus/exporter-toolkit from 0.7.1 to 0.8.1
* Bump gopkg.in/telebot.v3 from 3.0.0 to 3.1.2
* Bump go.uber.org/atomic from 1.9.0 to 1.10.0
* Change duplicated tags
* Use the new truncation in bytes functions to ensure strings are not butchered
* Validate that either bot_token or http_configs.authorization must be present
* Fix and add a new test
* A few changes to better align with what I know think it's the best setup in Webex Teams
* Notifier: Webex
* Address review comments
* fix typo
* Fix comments
* Truncate: Be explicit on truncation of runes or bytes.
* Bump golang.org/x/tools from 0.1.12 to 0.2.0
* Bump github.com/gofrs/uuid from 4.3.0+incompatible to 4.3.1+incompatible
* Bump github.com/matttproud/golang_protobuf_extensions
* Reduce memory utilization in downstream projects creating multiple Alertmanager instances (#3114)
* Add support for reading VictorOps API key from file (#3111)
* Allow first day of week to be Sunday or Monday (#3093)
* Log Response Details for Notifier errors for Webhooks, Pushover and VictorOps (#3103)
* Add support for reading PagerDuty secrets from files (#3107)
* Expires notify log sooner when possible
* Add PagerDuty source field (PD-CEF) (#3106)
* Reduce memory utilization in downstream projects creating multiple Alertmanager instances (#3092)
* UI: add 'Link' button to alerts in list (#2880)
* Bump github.com/aws/aws-sdk-go from 1.44.94 to 1.44.109
* Bump github.com/matttproud/golang_protobuf_extensions
* Bump github.com/gofrs/uuid from 4.2.0+incompatible to 4.3.0+incompatible
* Take another approach
* Ensure matcher values are present when parsing matchers from strings
* Appease the linter on `timeinterval.go` (#3085)
* notify/email: refactor tests (#3078)
* Add timezone support to time intervals. (#2782)
* EmailConfig: Use CanonicalMIMEHeaderKey instead of TitleCasing for headers (#3080)
* MAINTAINERS.md: add @gotjosh
* SMTP config: add global and local password file fields (#3038)
* replace 3 dots with ellipsis (#3072)
* Bump github.com/go-openapi/swag from 0.21.1 to 0.22.3 (#3066)
* Docs: Updated README.md to include links to receiver integrations (#2996)
* Set min version of go.mod to 1.18 (#3070)
* Bump github.com/aws/aws-sdk-go from 1.44.89 to 1.44.94 (#3069)
* Trim contents of slack api urls from files (#2929)
* Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 (#3068)
* Bump github.com/hashicorp/memberlist from 0.3.2 to 0.4.0 (#3067)
* /-/{healthy,ready}/ respond to HEAD (#3039)
* Delete unreachable code caused by t.Fatalf (#3042)
* Bump github.com/go-openapi/spec from 0.20.6 to 0.20.7 (#3051)
* Bump github.com/go-openapi/loads from 0.21.1 to 0.21.2 (#3054)
* Bump github.com/go-openapi/errors from 0.20.2 to 0.20.3 (#3055)
* Bump github.com/aws/aws-sdk-go from 1.44.66 to 1.44.89 (#3053)
* Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
* Bump github.com/hashicorp/memberlist from 0.3.1 to 0.3.2
* Bump golang.org/x/tools from 0.1.11 to 0.1.12
* Bump github.com/aws/aws-sdk-go from 1.44.61 to 1.44.66
* Update config test to match new prometheus common.
* Bump github.com/prometheus/common from 0.32.1 to 0.37.0
* Bump github.com/cenkalti/backoff/v4 from 4.1.2 to 4.1.3
* Bump github.com/go-openapi/strfmt from 0.21.2 to 0.21.3
* Bump github.com/stretchr/testify from 1.7.0 to 1.8.0
* Speedup CI builds
* Bump github.com/go-openapi/runtime from 0.23.1 to 0.24.1
* Bump golang.org/x/tools from 0.1.9 to 0.1.11
* Bump github.com/go-kit/log from 0.2.0 to 0.2.1
* Bump github.com/aws/aws-sdk-go from 1.43.11 to 1.44.61
* Update build
* Move api error logs to debug
* Remove ioutil
* Release 0.24.0
* docs: correct the accepted value for X-XSS-Protection header (#3004)
* Acceptance Tests: Better error messages
* Bump github.com/go-openapi/validate from 0.21.0 to 0.22.0
* Refactor POST /api/v1/silences
* Bump github.com/go-openapi/spec from 0.20.4 to 0.20.6
* Simplify Silence test to remove unnecessary wait.
* notify/telegram: Fix test
* notify/telegram: Update to use default telegram config
* notify/telegram: Set API and ParseMode defaults
* Apply suggestions from code review.
* Loosen up the timing on an Eventually to avoid CI timeout
* Remove a stray line that was breaking the linter.
* Clean up linter warnings about unused code and atomic package
* Issue #2850: Add benbjohnson/clock to the silences package.
* notify/discord: Create Discord integration
* Update common Prometheus files
* fixed oauth2 doc to reflect tls_config (#2979)
* Create dependabot.yml
* Mixin: Fix mixin linting
* docs: clarify supported tls cipher suites
* Fix tests after rebase
* Marker: Rename `SetSilenced` to `SetActiveOrSilenced`
* Force close mock servers as part of v2 acceptance tests
* Alert metric reports different results to what the user sees via API (#2943)
* Mixin: `template-job-rule` now only validates job and not both instance and job (#2944)
* Update common Prometheus files (#2915)
* Fixup
* Fix Markdown formatting bugs / typos in the config docs
* Mixin: Rename exclusion rule from `panel-job-instance-rule` to `target-instance-rule`
* config: fix validation of OpsGenie configuration
* .circleci/config.yml: use supported machine image (#2909)
* docs: fix installation for go1.18 (#2859)
* Update common Prometheus files (#2907)
* Fix stopping of nil Dispatcher (#2897)
* Remove unneeded nil check before ranging over slice (#2900)
* Remove unused Marker from Dispatcher struct (#2898)
* Mixin: Rename exclusion rule from `panel-job-instance-rule` to `target-instance-rule`
* Sort receiver stage constructions by pipeline order
* Package and ship frontend independenlty (#2893)
* fix comment (#2869)
* Update common Prometheus files
* Update golangci-lint and fix complaints (#2853)
* Revert "Release 0.24.0"
* Release 0.24.0
* Add CLI args for snapshot intervals (#2849)
* Update common Prometheus files
* Release 0.24.0-rc.0
* go.{mod,sum}: update dependencies (#2824)
* Adds: Active time interval (#2779)
* Update common Prometheus files
* Adding telegram support (#2827)
* Return no error when deleting expired silence (#2817)
* Fix markdown list describing Alertmanager matchers
* Correcting the condition for updating a silence. Earlier was checking upto nanosecond precision but reduced to second as the UI only sends upto millisecond
* config: delegate Sigv4 validation to the inner type
* notify/sns: detect FIFO topic based on the rendered value
* amtool to support http_config to access alertmanager (#2764)
* go.{mod,sum}: update Go dependencies
* Automate CSS-inlining for default HTML email template (#2798)
* Update common Prometheus files
* *: bump to Go 1.17 (#2792)
* adding max_alerts parameter to slack webhook config
* config: root route should have empty matchers
* fix lint error
* Move api v1 client into v1 tests
* Add client TLS configuration
* Remove `/api/v2/` from `StripPrefix`
* Preferring the use of the basePath attribute
* Regenerated OpenAPI client code
* Oops, this is actually v2
* Adding /api/v1 prefix to all endpoints
* Expose the fields from MuteTimeInterval in JSON correctly (#2765)
* opsgenie: Extend config with 'entity' and 'actions' fields (#2753)
* Add feature flag to enable discovery and use of public IPaddr for clustering. (#2719)
* Add support for security-related HTTP headers (#2759)
* Enable HTTP 2 again (#2720)
* Remove extra parentheticals
* Allow filtering silences by createdBy author (#2718)
* Document that matchers are ANDed together
* Update outdated url link with slack (#2749)
* Dynamic opsgenie responders (#2685)
* docs: Update default value for opsgenie_config 'message'.
* chore: Let git ignore temporary files for ui/app
* Update common Prometheus files
* export ValidateMatcher for DI (#2) (#2716)
* Implement opsgenie_api_key_file (#2728)
* Update common Prometheus files (#2708)
* Close file descriptor after snapshot file was read (#2710)
* Update xxhash to v2.1.1 and improve pooling (#2709)
* Minor fixes on docs of receiver (#2726)
* amtool: Fix behavior of adding silence with duration option (#2741)
* Generalize User-Agent header in receiver requests (#2722) (#2730)
* Add deprecation note to pkg directory
* docs: Fix default value of send_resolved for sns_configs (#2724)
* Fix HTTP client options in SNS receiver
* Correctly call default silence maintenance function (#2701)
* Enable support for custom callbacks as part of maintenance (#2689)
* Fix some typo
* Fix some typo
* Make the apostrophe uniform
* fix imports order
* fix imports
* add update_alerts option docs
* change update_message and update_description options to a single update_alerts option
* Update docs/configuration.md
* Apply suggestions from code review
* fix response drain order
* fix opsgenie retry handling logic error
* add the option to update message and description when sending alerts to opsgenie
* Secure cluster traffic via mutual TLS (#2237)
-------------------------------------------------------------------
Tue Jul 19 08:10:44 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
- Do not include sources (bsc#1200725)
-------------------------------------------------------------------
Fri Apr 8 11:54:29 UTC 2022 - Witek Bedyk <witold.bedyk@suse.com>
- Update required Go version to 1.16
-------------------------------------------------------------------
Thu Mar 10 15:39:10 UTC 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 21:12:06 UTC 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 14:08:14 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
- Added hardening to systemd service(s) (bsc#1181400). Modified:
* prometheus-alertmanager.service
-------------------------------------------------------------------
Mon Nov 30 15:19:25 UTC 2020 - Witek Bedyk <witold.bedyk@suse.com>
- Exclude s390 architecture
-------------------------------------------------------------------
Mon Nov 9 16:45:52 UTC 2020 - Stefano Torresi <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 16:45:34 UTC 2020 - Witek Bedyk <witold.bedyk@suse.com>
- Fix building amtool (bsc#1176943)
-------------------------------------------------------------------
Fri Aug 28 12:43:59 UTC 2020 - Matthias Eliasson <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 20:24:34 UTC 2020 - Matthias Eliasson <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 2 06:11:53 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>
- Add network-online (Wants and After) dependency to systemd unit bsc#1143913
-------------------------------------------------------------------
Tue Apr 16 08:15:25 UTC 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 8 10:42:37 UTC 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 12:46:43 UTC 2018 - jan.fajerski@suse.com
- fix config token in alermanager.yml hipchat_url -> hipchat_api_url
-------------------------------------------------------------------
Wed Mar 14 07:34:17 UTC 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 11:58:41 UTC 2018 - kkaempf@suse.com
- Update to 0.13.0
See https://github.com/prometheus/alertmanager/releases
-------------------------------------------------------------------
Thu Jul 27 09:04:14 UTC 2017 - tserong@suse.com
- Add BuildRequires: fdupes
-------------------------------------------------------------------
Thu May 25 02:25:05 UTC 2017 - tserong@suse.com
- Initial version
- Adjust default settings
- Added:
* 0001-Default-settings.patch