Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package golang-github-prometheus-prometheus
for openSUSE:Factory checked in at 2021-05-07 16:45:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-prometheus"
Fri May 7 16:45:35 2021 rev:12 rq:890921 version:2.26.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/golang-github-prometheus-prometheus.changes
2021-03-25 14:52:38.204504469 +0100
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.2988/golang-github-prometheus-prometheus.changes
2021-05-07 16:45:53.912259362 +0200
@@ -1,0 +2,85 @@
+Tue May 4 14:35:58 UTC 2021 - Witek Bedyk <[email protected]>
+
+- Add tarball with vendor modules and web assets
+- Uyuni: Read formula data from exporters map
+- Uyuni: Add support for TLS targets
+ + Changed:
+ * 0003-Add-Uyuni-service-discovery.patch
+ * 0002-Default-settings.patch Changed
+ * 0003-Add-Uyuni-service-discovery.patch
+
+- Upgrade to upstream version 2.26.0
+ + Changes
+ * Alerting: Using Alertmanager v2 API by default. #8626
+ * Prometheus/Promtool: Binaries are now printing help and usage to stdout
instead of stderr. #8542
+ + Features
+ * Remote: Add support for AWS SigV4 auth method for remote_write. #8509
+ * PromQL: Allow negative offsets. Behind
--enable-feature=promql-negative-offset flag. #8487
+ * UI: Add advanced auto-completion, syntax highlighting and linting to
graph page query input. #8634
+ + Enhancements
+ * PromQL: Add last_over_time, sgn, clamp functions. #8457
+ * Scrape: Add support for specifying type of Authorization header
credentials with Bearer by default. #8512
+ * Scrape: Add follow_redirects option to scrape configuration. #8546
+ * Remote: Allow retries on HTTP 429 response code for remote_write. #8237
#8477
+ * Remote: Allow configuring custom headers for remote_read. #8516
+ * UI: Hitting Enter now triggers new query. #8581
+ * UI: Better handling of long rule and names on the /rules and /targets
pages. #8608 #8609
+ * UI: Add collapse/expand all button on the /targets page. #8486
+
+- Upgrade to upstream version 2.25.0
+ + Features
+ * Include a new `--enable-feature=` flag that enables experimental
features.
+ + Enhancements
+ * Add optional name property to testgroup for better test failure output.
#8440
+ * Add warnings into React Panel on the Graph page. #8427
+ * TSDB: Increase the number of buckets for the compaction duration metric.
#8342
+ * Remote: Allow passing along custom remote_write HTTP headers. #8416
+ * Mixins: Scope grafana configuration. #8332
+ * Kubernetes SD: Add endpoint labels metadata. #8273
+ * UI: Expose total number of label pairs in head in TSDB stats page. #8343
+ * TSDB: Reload blocks every minute, to detect new blocks and enforce
retention more often. #8343
+ + Bug fixes
+ * API: Fix global URL when external address has no port. #8359
+ * Deprecate unused flag --alertmanager.timeout. #8407
+
+- Upgrade to upstream version 2.24.1
+ + Enhancements
+ * Cache basic authentication results to significantly improve performance
of HTTP endpoints.
+
+- Upgrade to upstream version 2.24.0
+ + Features
+ * Add TLS and basic authentication to HTTP endpoints. #8316
+ * promtool: Add check web-config subcommand to check web config files.
#8319
+ * promtool: Add tsdb create-blocks-from openmetrics subcommand to backfill
metrics data from an OpenMetrics file. #8084
+ + Enhancements
+ * HTTP API: Fast-fail queries with only empty matchers. #8288
+ * HTTP API: Support matchers for labels API. #8301
+ * promtool: Improve checking of URLs passed on the command line. #7956
+ * SD: Expose IPv6 as a label in EC2 SD. #7086
+ * SD: Reuse EC2 client, reducing frequency of requesting credentials. #8311
+ * TSDB: Add logging when compaction takes more than the block time range.
#8151
+ * TSDB: Avoid unnecessary GC runs after compaction. #8276
+
+- Upgrade to upstream version 2.23.0
+ + Changes
+ * UI: Make the React UI default. #8142
+ * Remote write: The following metrics were removed/renamed in remote
write. #6815
+ > prometheus_remote_storage_succeeded_samples_total was removed and
prometheus_remote_storage_samples_total was introduced for all the samples
attempted to send.
+ > prometheus_remote_storage_sent_bytes_total was removed and replaced
with prometheus_remote_storage_samples_bytes_total and
prometheus_remote_storage_metadata_bytes_total.
+ > prometheus_remote_storage_failed_samples_total ->
prometheus_remote_storage_samples_failed_total .
+ > prometheus_remote_storage_retried_samples_total ->
prometheus_remote_storage_samples_retried_total.
+ > prometheus_remote_storage_dropped_samples_total ->
prometheus_remote_storage_samples_dropped_total.
+ > prometheus_remote_storage_pending_samples ->
prometheus_remote_storage_samples_pending.
+ * Remote: Do not collect non-initialized timestamp metrics. #8060
+ + Enhancements
+ * Remote write: Added a metric
prometheus_remote_storage_max_samples_per_send for remote write. #8102
+ * TSDB: Make the snapshot directory name always the same length. #8138
+ * TSDB: Create a checkpoint only once at the end of all head compactions.
#8067
+ * TSDB: Avoid Series API from hitting the chunks. #8050
+ * TSDB: Cache label name and last value when adding series during
compactions making compactions faster. #8192
+ * PromQL: Improved performance of Hash method making queries a bit faster.
#8025
+ * promtool: tsdb list now prints block sizes. #7993
+ * promtool: Calculate mint and maxt per test avoiding unnecessary
calculations. #8096
+ * SD: Add filtering of services to Docker Swarm SD. #8074
+
+-------------------------------------------------------------------
Old:
----
prometheus-2.22.1.tar.xz
New:
----
prometheus-2.26.0.tar.gz
vendor.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-prometheus.spec ++++++
--- /var/tmp/diff_new_pack.izMVDc/_old 2021-05-07 16:45:56.680250658 +0200
+++ /var/tmp/diff_new_pack.izMVDc/_new 2021-05-07 16:45:56.680250658 +0200
@@ -27,16 +27,19 @@
%endif
Name: golang-github-prometheus-prometheus
-Version: 2.22.1
+Version: 2.26.0
Release: 0
Summary: The Prometheus monitoring system and time series database
License: Apache-2.0
Group: System/Monitoring
URL: https://prometheus.io/
-Source: prometheus-%{version}.tar.xz
-Source1: prometheus.service
-Source2: prometheus.yml
-Source3: prometheus.sysconfig
+Source: prometheus-%{version}.tar.gz
+# generated after applying Patch3 and running `go mod vendor`
+# also includes web assets generated with `make assets`
+Source1: vendor.tar.gz
+Source2: prometheus.service
+Source3: prometheus.yml
+Source4: prometheus.sysconfig
Patch1: 0001-Do-not-force-the-pure-Go-name-resolver.patch
# Lifted from Debian's prometheus package
Patch2: 0002-Default-settings.patch
@@ -48,7 +51,6 @@
BuildRequires: glibc-devel-static
BuildRequires: golang-github-prometheus-promu
BuildRequires: golang-packaging
-BuildRequires: xz
BuildRequires: golang(API) >= 1.14
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(pre): user(prometheus)
@@ -70,7 +72,7 @@
- multiple modes of graphing and dashboarding support
%prep
-%autosetup -p1 -n prometheus-%{version}
+%autosetup -a1 -p1 -n prometheus-%{version}
%build
%goprep github.com/prometheus/prometheus
@@ -79,9 +81,9 @@
%install
install -D -m0755 %{_builddir}/prometheus-%{version}/prometheus
%{buildroot}/%{_bindir}/prometheus
install -D -m0755 %{_builddir}/prometheus-%{version}/promtool
%{buildroot}/%{_bindir}/promtool
-install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/prometheus.service
+install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/prometheus.service
-install -D -m 0644 %{SOURCE2}
%{buildroot}%{_sysconfdir}/prometheus/prometheus.yml
+install -D -m 0644 %{SOURCE3}
%{buildroot}%{_sysconfdir}/prometheus/prometheus.yml
install -d -m 0755 %{buildroot}%{_sbindir}
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcprometheus
@@ -90,7 +92,7 @@
cp -fr console_libraries/ consoles/ %{buildroot}%{_datarootdir}/prometheus
install -m 0755 -d %{buildroot}%{_fillupdir}
-install -m 0644 %{SOURCE3} %{buildroot}%{_fillupdir}/sysconfig.prometheus
+install -m 0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.prometheus
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/data
++++++ 0001-Do-not-force-the-pure-Go-name-resolver.patch ++++++
--- /var/tmp/diff_new_pack.izMVDc/_old 2021-05-07 16:45:56.700250595 +0200
+++ /var/tmp/diff_new_pack.izMVDc/_new 2021-05-07 16:45:56.700250595 +0200
@@ -1,4 +1,4 @@
-From 7953e106d8afa5ba660396c1c59bcc674ef3a404 Mon Sep 17 00:00:00 2001
+From dca10001054ba4f61a8be3f4ef67223509a26683 Mon Sep 17 00:00:00 2001
From: Jan Fajerski <[email protected]>
Date: Fri, 8 Feb 2019 09:17:06 +0100
Subject: [PATCH 1/3] Do not force the pure Go name resolver
@@ -15,18 +15,18 @@
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.promu.yml b/.promu.yml
-index caaa63a55..f75af963d 100644
+index f52a646de..782f973a8 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -10,7 +10,7 @@ build:
path: ./cmd/prometheus
- name: promtool
path: ./cmd/promtool
-- flags: -mod=vendor -a -tags netgo,builtinassets
+- flags: -a -tags netgo,builtinassets
+ flags: -mod=vendor -a -tags builtinassets
ldflags: |
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}
--
-2.29.2
+2.26.2
++++++ 0002-Default-settings.patch ++++++
--- /var/tmp/diff_new_pack.izMVDc/_old 2021-05-07 16:45:56.708250570 +0200
+++ /var/tmp/diff_new_pack.izMVDc/_new 2021-05-07 16:45:56.712250558 +0200
@@ -1,4 +1,4 @@
-From 129223e15588c384c39b279213c81ba24e2f7ac9 Mon Sep 17 00:00:00 2001
+From 7860b67a0a684d2d51087e323b780410031d83af Mon Sep 17 00:00:00 2001
From: Jan Fajerski <[email protected]>
Date: Fri, 8 Feb 2019 09:28:12 +0100
Subject: [PATCH 2/3] Default settings
@@ -9,10 +9,10 @@
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
-index fa6b6fa88..ac9f9dcfa 100644
+index 37a7f3535..ae43ded89 100644
--- a/cmd/prometheus/main.go
+++ b/cmd/prometheus/main.go
-@@ -147,7 +147,7 @@ func main() {
+@@ -187,7 +187,7 @@ func main() {
a.HelpFlag.Short('h')
a.Flag("config.file", "Prometheus configuration file path.").
@@ -21,7 +21,7 @@
a.Flag("web.listen-address", "Address to listen on for UI, API, and
telemetry.").
Default("0.0.0.0:9090").StringVar(&cfg.web.ListenAddress)
-@@ -177,10 +177,10 @@ func main() {
+@@ -219,10 +219,10 @@ func main() {
Default("false").BoolVar(&cfg.web.EnableAdminAPI)
a.Flag("web.console.templates", "Path to the console template
directory, available at /consoles.").
@@ -34,7 +34,7 @@
a.Flag("web.page-title", "Document title of Prometheus instance.").
Default("Prometheus Time Series Collection and Processing
Server").StringVar(&cfg.web.PageTitle)
-@@ -189,7 +189,7 @@ func main() {
+@@ -231,7 +231,7 @@ func main() {
Default(".*").StringVar(&cfg.corsRegexString)
a.Flag("storage.tsdb.path", "Base path for metrics storage.").
@@ -44,5 +44,5 @@
a.Flag("storage.tsdb.min-block-duration", "Minimum duration of a data
block before being persisted. For use in testing.").
Hidden().Default("2h").SetValue(&cfg.tsdb.MinBlockDuration)
--
-2.29.2
+2.26.2
++++++ 0003-Add-Uyuni-service-discovery.patch ++++++
++++ 1366 lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/0003-Add-Uyuni-service-discovery.patch
++++ and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.2988/0003-Add-Uyuni-service-discovery.patch
++++++ _service ++++++
--- /var/tmp/diff_new_pack.izMVDc/_old 2021-05-07 16:45:56.736250482 +0200
+++ /var/tmp/diff_new_pack.izMVDc/_new 2021-05-07 16:45:56.736250482 +0200
@@ -4,12 +4,12 @@
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="revision">v2.22.1</param>
+ <param name="revision">v2.26.0</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="recompress" mode="disabled">
- <param name="file">prometheus-*.tar</param>
- <param name="compression">xz</param>
+ <param name="file">*.tar</param>
+ <param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled">
<param name="basename">prometheus</param>