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 2026-04-18 21:30:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus (Old)
and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-prometheus-prometheus"
Sat Apr 18 21:30:14 2026 rev:69 rq:1347684 version:3.11.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/golang-github-prometheus-prometheus.changes
2026-03-03 15:29:55.586558481 +0100
+++
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.11940/golang-github-prometheus-prometheus.changes
2026-04-18 21:30:28.371172299 +0200
@@ -1,0 +2,129 @@
+Thu Apr 9 11:47:54 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 3.11.1:
+ * [BUGFIX] Tracing: Fix startup failure for OTLP HTTP tracing
+ with insecure: true. #18469
+
+-------------------------------------------------------------------
+Thu Apr 2 16:18:19 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- add script to package webassets inside a podman container, to not
+ endanger or pollute the host system with npm
+- update to 3.11.0:
+ * [CHANGE] Hetzner SD: The '__meta_hetzner_datacenter' label is
+ deprecated for the role robot but kept for backward
+ compatibility, use the '__meta_hetzner_robot_datacenter' label
+ instead. For the role hcloud, the label is deprecated and will
+ stop working after the 1 July 2026. #17850
+ * [CHANGE] Hetzner SD: The
+ __meta_hetzner_hcloud_datacenter_location and
+ __meta_hetzner_hcloud_datacenter_location_network_zone labels
+ are deprecated, use the __meta_hetzner_hcloud_location and
+ __meta_hetzner_hcloud_location_network_zone labels instead.
+ #17850
+ * [CHANGE] Promtool: Redirect debug output to stderr to avoid
+ interfering with stdout-based tool output. #18346
+ * [FEATURE] AWS SD: Add Elasticache Role. #18099
+ * [FEATURE] AWS SD: Add RDS Role. #18206
+ * [FEATURE] Azure SD: Add support for Azure Workload Identity
+ authentication method. #17207
+ * [FEATURE] Discovery: Introduce
+ prometheus_sd_last_update_timestamp_seconds metric to track the
+ last time a service discovery update was sent to consumers.
+ #18194
+ * [FEATURE] Kubernetes SD: Add support for node role selectors
+ for pod roles. #18006
+ * [FEATURE] Kubernetes SD: Introduce pod-based labels for
+ deployment, cronjob, and job controller names:
+ __meta_kubernetes_pod_deployment_name,
+ __meta_kubernetes_pod_cronjob_name and
+ __meta_kubernetes_pod_job_name, respectively. #17774
+ * [FEATURE] PromQL: Add </ and >/ operators for trimming
+ observations from native histograms. #17904
+ * [FEATURE] PromQL: Add experimental histogram_quantiles variadic
+ function for computing multiple quantiles at once. #17285
+ * [FEATURE] TSDB: Add storage.tsdb.retention.percentage
+ configuration to configure the maximum percent of disk usable
+ for TSDB storage. #18080
+ * [FEATURE] TSDB: Add an experimental fast-startup feature flag
+ that writes a series_state.json file to the WAL directory to
+ track active series state across restarts. #18303
+ * [FEATURE] TSDB: Add an experimental st-storage feature flag.
+ When enabled, Prometheus stores ingested start timestamps (ST,
+ previously called Created Timestamp) from scrape or OTLP in the
+ TSDB and Agent WAL, and exposes them via Remote Write 2. #18062
+ * [FEATURE] TSDB: Add an experimental xor2-encoding feature flag
+ for the new TSDB block float sample chunk encoding that is
+ optimized for scraped data and allows encoding start
+ timestamps. #18062
+ * [ENHANCEMENT] HTTP client: Add AWS external_id support for
+ sigv4. #17916
+ * [ENHANCEMENT] Kubernetes SD: Deduplicate deprecation warning
+ logs from the Kubernetes API to reduce noise. #17829
+ * [ENHANCEMENT] TSDB: Remove old temporary checkpoints when
+ creating a Checkpoint. #17598
+ * [ENHANCEMENT] UI: Add autocomplete support for experimental
+ first_over_time and ts_of_first_over_time PromQL functions.
+ #18318
+ * [ENHANCEMENT] Vultr SD: Upgrade govultr library from v2 to v3
+ for continued security patches and maintenance. #18347
+ * [PERF] PromQL: Improve performance and reduce heap allocations
+ in joins (VectorBinop)/And/Or/Unless. #17159
+ * [PERF] PromQL: Partially address performance regression in
+ native histogram aggregations due to using KahanAdd. #18252
+ * [PERF] Remote write: Optimize WAL watching used for RW sending
+ to reuse internal buffers. #18250
+ * [PERF] TSDB: Optimize LabelValues intersection performance for
+ matchers. #18069
+ * [PERF] UI: Skip restacking on hover in stacked series charts.
+ #18230
+ * [BUGFIX] AWS SD: Fix EC2 SD ignoring the configured endpoint
+ option, a regression from the AWS SDK v2 migration. #18133
+ * [BUGFIX] AWS SD: Fix panic in EC2 SD when
+ DescribeAvailabilityZones returns nil ZoneName or ZoneId.
+ #18133
+ * [BUGFIX] Agent: Fix memory leak caused by duplicate SeriesRefs
+ being loaded as active series. #17538
+ * [BUGFIX] Alerting: Fix alert state incorrectly resetting to
+ pending when the FOR period is increased in the config file.
+ #18244
+ * [BUGFIX] Azure SD: Fix system-assigned managed identity not
+ working when client_id is empty. #18323
+ * [BUGFIX] Consul SD: Fix filter parameter not being applied to
+ health service endpoint, causing Node and Node.Meta filters to
+ be ignored. #17349
+ * [BUGFIX] Kubernetes SD: Fix duplicate targets generated by
+ *DualStack EndpointSlices policies. #18192
+ * [BUGFIX] OTLP: Fix ErrTooOldSample being returned as HTTP 500
+ instead of 400 in PRW v2 histogram write paths, preventing
+ infinite client retry loops. #18084
+ * [BUGFIX] OTLP: Fix exemplars getting mixed between incorrect
+ parts of a histogram. #18056
+ * [BUGFIX] PromQL: Do not skip histogram buckets in queries where
+ histogram trimming is used. #18263
+ * [BUGFIX] Remote write: Fix
+ prometheus_remote_storage_sent_batch_duration_seconds measuring
+ before the request was sent. #18214
+ * [BUGFIX] Rules: Fix alert state restoration when rule labels
+ contain Go template expressions. #18375
+ * [BUGFIX] Scrape: Fix panic when parsing bare label names
+ without an equal sign in brace-only metric notation. #18229
+ * [BUGFIX] TSDB: Fail early when use-uncached-io feature flag is
+ set on unsupported environments. #18219
+ * [BUGFIX] TSDB: Fall back to CLI flag values when retention is
+ removed from config file. #18200
+ * [BUGFIX] TSDB: Fix memory leaks in buffer pools by clearing
+ reference fields before returning buffers to pools. #17895
+ * [BUGFIX] TSDB: Fix missing mmap of histogram chunks during WAL
+ replay. #18306
+ * [BUGFIX] TSDB: Fix storage.tsdb.retention.time unit mismatch in
+ file causing retention to be 1e6 times longer than configured.
+ #18200
+ * [BUGFIX] Tracing: Fix missing traceID in query log when tracing
+ is enabled, previously only spanID was emitted. #18189
+ * [BUGFIX] UI: Fix tooltip Y-offset drift when using multiple
+ graph panels. #18228
+ * [BUGFIX] UI: Update retention display in runtime info when
+ config is reloaded. #18200
+
+-------------------------------------------------------------------
Old:
----
prometheus-3.10.0.obscpio
New:
----
create_package-lock_json.sh
prometheus-3.11.1.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-prometheus-prometheus.spec ++++++
--- /var/tmp/diff_new_pack.V5eTNv/_old 2026-04-18 21:30:42.519739730 +0200
+++ /var/tmp/diff_new_pack.V5eTNv/_new 2026-04-18 21:30:42.523739890 +0200
@@ -27,7 +27,7 @@
%endif
Name: golang-github-prometheus-prometheus
-Version: 3.10.0
+Version: 3.11.1
Release: 0
Summary: The Prometheus monitoring system and time series database
License: Apache-2.0
@@ -39,13 +39,15 @@
Source4: prometheus.yml
Source5: prometheus.sysconfig
Source6: prometheus.firewall.xml
-Source8: Makefile
-Source9: PACKAGING_README.md
#
Source10: package-lock.json
Source11: node_modules.spec.inc
%include %{_sourcedir}/node_modules.spec.inc
#
+Source21: Makefile
+Source22: PACKAGING_README.md
+Source23: create_package-lock_json.sh
+#
Patch1: 0001-Do-not-force-the-pure-Go-name-resolver.patch
# Lifted from Debian's prometheus package
Patch2: 0002-Default-settings.patch
++++++ Makefile ++++++
--- /var/tmp/diff_new_pack.V5eTNv/_old 2026-04-18 21:30:42.603743098 +0200
+++ /var/tmp/diff_new_pack.V5eTNv/_new 2026-04-18 21:30:42.607743259 +0200
@@ -18,30 +18,13 @@
.SILENT: package_lock_json
package_lock_json:
- echo "Preparing webui dependencies"
- version=$$( awk '/^Version:/ {print $$2;exit;}' $(SPEC) )
- echo "Setting basename"
- basename=$(NAME)-$$version
- echo "Setting obscpio"
- obscpio=$$basename.obscpio
- working_directory=$$(pwd)
- tmpdir=$$(mktemp -d -p /tmp)
- echo "Changing into tmpdir"
- cd $$tmpdir || exit 1
- echo "Extracting obscpio archive"
- cpio -id < $$working_directory/$$obscpio
- echo "Changing into services"
- cd $$basename/web/ui/
- echo "Removing package-lock.json"
- rm -vf package-lock.json
- echo "Starting npm install"
- npm install --package-lock-only
- echo "Copy package-lock.json"
- cp -vf package-lock.json $$working_directory/
- echo "Cleaning up"
- cd $$working_directory/
- rm -rf $$tmpdir
- echo "Finished"
+ podman run \
+ -ti \
+ --rm \
+ --pull=always \
+ -v .:/data/ \
+ registry.opensuse.org/opensuse/leap:16.0 \
+ bash /data/create_package-lock_json.sh $(SPEC) nodejs24
.SILENT: node_modules
node_modules:
++++++ PACKAGING_README.md ++++++
--- /var/tmp/diff_new_pack.V5eTNv/_old 2026-04-18 21:30:42.639744542 +0200
+++ /var/tmp/diff_new_pack.V5eTNv/_new 2026-04-18 21:30:42.643744702 +0200
@@ -3,9 +3,9 @@
In addition to the source code in the tarball, this package also
needs the assets for the web UI. These can be generated during the
build at the build server using the node modules service. The
-required dependecies definition can be generated by the `Makefile`
+required dependencies definition can be generated by the `Makefile`
which is present in this package.
-To do that, you need to have `make` and `npm` installed locally.
+To do that, you need to have `make` and `podman` installed locally.
For the OBS workflow you also need `obs-service-go_modules`,
`obs-service-node_modules` as well as `obs-service-tar_scm` and
`obs-service-recompress`.
@@ -15,5 +15,9 @@
3. Run `make`
4. Create a changelog entry
5. Commit the changes as usual
+6. If desired, remove the container image used to build the web assets:
+ ```
+ podman image rm registry.opensuse.org/opensuse/leap:16.0
+ ```
++++++ _service ++++++
--- /var/tmp/diff_new_pack.V5eTNv/_old 2026-04-18 21:30:42.667745665 +0200
+++ /var/tmp/diff_new_pack.V5eTNv/_new 2026-04-18 21:30:42.675745986 +0200
@@ -6,7 +6,7 @@
<param name="exclude">go.work</param>
<param name="exclude">go.work.sum</param>
<param name="versionformat">@PARENT_TAG@</param>
- <param name="revision">v3.10.0</param>
+ <param name="revision">v3.11.1</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="match-tag">v3*</param>
</service>
++++++ create_package-lock_json.sh ++++++
#!/bin/bash
set -o pipefail
[[ "$#" == "2" ]] || {
echo "Please use the package name and the nodejs version as the only
arguments"
exit 1
}
spec_file_name="${1}"
nodejs_package="${2}"
package_name=prometheus
cd /data || exit 11
zypper -n install \
cpio \
gawk \
make \
git-core \
npm \
"${nodejs_package}" || exit 13
version="$( awk '/^Version:/ {print $2;exit;}' "${spec_file_name}" )"
[[ -z "${version}" ]] && {
echo "version variable is empty..."
exit 14
}
echo "##########"
echo "Preparing the webui dependencies"
echo "Package version is ${version}"
basename="${package_name}-${version}"
obscpio="${basename}.obscpio"
working_directory="$(pwd)"
tmpdir="$(mktemp -d -p /tmp)"
echo "Changing into tmpdir ${tmpdir}"
cd "${tmpdir}" || exit 15
echo "##########"
echo "Extracting obscpio archive"
cpio -id < "${working_directory}/${obscpio}" || exit 21
echo "##########"
cd "${basename}/web/ui/" || exit 23
echo "Removing package-lock.json"
rm -vf package-lock.json || exit 25
echo "Starting npm install"
npm install --package-lock-only || exit 27
echo "Copy package-lock.json"
cp -vf package-lock.json "${working_directory}" || exit 29
echo "##########"
echo "Cleaning up..."
cd "${working_directory}" || exit 31
rm -rf "$tmpdir"
echo "##########"
echo "DONE creating the package-lock.json file"
exit 0
++++++ node_modules.obscpio ++++++
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/node_modules.obscpio
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.11940/node_modules.obscpio
differ: char 842073, line 3393
++++++ node_modules.spec.inc ++++++
++++ 1148 lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/node_modules.spec.inc
++++ and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.11940/node_modules.spec.inc
++++++ package-lock.json ++++++
++++ 4465 lines (skipped)
++++ between
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/package-lock.json
++++ and
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.11940/package-lock.json
++++++ prometheus-3.10.0.obscpio -> prometheus-3.11.1.obscpio ++++++
++++ 43851 lines of diff (skipped)
++++++ prometheus.obsinfo ++++++
--- /var/tmp/diff_new_pack.V5eTNv/_old 2026-04-18 21:30:44.807831493 +0200
+++ /var/tmp/diff_new_pack.V5eTNv/_new 2026-04-18 21:30:44.819831975 +0200
@@ -1,5 +1,5 @@
name: prometheus
-version: 3.10.0
-mtime: 1772045653
-commit: 54e010926b0a270cadb22be1113ad45fe9bcb90a
+version: 3.11.1
+mtime: 1775573705
+commit: 1bd2f3a9fdedf52e6f613449cc4c50e86ca24676
++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/golang-github-prometheus-prometheus/vendor.tar.gz
/work/SRC/openSUSE:Factory/.golang-github-prometheus-prometheus.new.11940/vendor.tar.gz
differ: char 13, line 1