Compare commits
12 Commits
Author | SHA256 | Date | |
---|---|---|---|
c6412658a7 | |||
|
97b0324688 | ||
d8bb6645d0 | |||
1a15fc8189 | |||
3c68568ab8 | |||
4c58929852 | |||
91effc3cdb | |||
be6b44abf7 | |||
06a199bdc0 | |||
|
52df51dfdd | ||
14c803cf2e | |||
8b5086afd5 |
17
_service
17
_service
@@ -4,18 +4,19 @@
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v1.8.2</param>
|
||||
<param name="revision">v1.9.1</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="filename">golang-github-prometheus-node_exporter</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
<!-- services below are running at buildtime -->
|
||||
<service name="tar" mode="buildtime">
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
<param name="basename">node_exporter</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
<param name="archive">node_exporter-1.8.2.obscpio</param>
|
||||
</service>
|
||||
</services>
|
||||
|
BIN
golang-github-prometheus-node_exporter-1.9.1.obscpio
(Stored with Git LFS)
Normal file
BIN
golang-github-prometheus-node_exporter-1.9.1.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,72 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 1 17:33:15 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.9.1
|
||||
* [BUGFIX] pressure: Fix missing IRQ on older kernels #3263
|
||||
* [BUGFIX] Fix Darwin memory leak #3277
|
||||
* CVE-2025-22870: Bump golang.org/x/net to version 0.37.0
|
||||
(bsc#1238686)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 17 08:35:13 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- refactor `_service` file and spec to use a nice tarball name
|
||||
- update to 1.9.0 (jsc#PED-12485):
|
||||
* CVE-2023-45288: Bump golang.org/x/net to version 0.33.0
|
||||
(bsc#1236516)
|
||||
* [CHANGE] meminfo: Convert linux implementation to use procfs
|
||||
lib #3049
|
||||
* [CHANGE] Update logging to use Go log/slog #3097
|
||||
* [FEATURE] filesystem: Add node_filesystem_mount_info metric
|
||||
#2970
|
||||
* [FEATURE] btrfs: Add metrics for commit statistics #3010
|
||||
* [FEATURE] interrupts: Add collector include/exclude filtering
|
||||
#3028
|
||||
* [FEATURE] interrupts: Add "exclude zeros" filtering #3028
|
||||
* [FEATURE] slabinfo: Add filters for slab name. #3041
|
||||
* [FEATURE] pressure: add IRQ PSI metrics #3048
|
||||
* [FEATURE] hwmon: Add include and exclude filter for sensors
|
||||
#3072
|
||||
* [FEATURE] filesystem: Add NetBSD support #3082
|
||||
* [FEATURE] netdev: Add ifAlias label #3087
|
||||
* [FEATURE] hwmon: Add Support for GPU Clock Frequencies #3093
|
||||
* [FEATURE] Add exclude[] URL parameter #3116
|
||||
* [FEATURE] Add AIX support #3136
|
||||
* [FEATURE] filesystem: Add fs-types/mount-points include flags
|
||||
#3171
|
||||
* [FEATURE] netstat: Add collector for tcp packet counters for
|
||||
FreeBSD. #3177
|
||||
* [ENHANCEMENT] ethtool: Add logging for filtering flags #2979
|
||||
* [ENHANCEMENT] netstat: Add TCPRcvQDrop to default metrics #3021
|
||||
* [ENHANCEMENT] diskstats: Add block device rotational #3022
|
||||
* [ENHANCEMENT] cpu: Support CPU online status #3032
|
||||
* [ENHANCEMENT] arp: optimize interface name resolution #3133
|
||||
* [ENHANCEMENT] textfile: Allow specifiying multiple directory
|
||||
globs #3135
|
||||
* [ENHANCEMENT] filesystem: Add reporting of purgeable space on
|
||||
MacOS #3206
|
||||
* [ENHANCEMENT] ethtool: Skip full scan of NetClass directories
|
||||
#3239
|
||||
* [BUGFIX] zfs: Prevent procfs integer underflow #2961
|
||||
* [BUGFIX] pressure: Fix collection on systems that do not expose
|
||||
a full CPU stat #3054
|
||||
* [BUGFIX] cpu: Fix FreeBSD 32-bit host support and plug memory
|
||||
leak #3083
|
||||
* [BUGFIX] hwmon: Add safety check to hwmon read #3134
|
||||
* [BUGFIX] zfs: Allow space in dataset name #3186
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 15:59:34 UTC 2025 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- Packaging improvements:
|
||||
* Use systemd-sysusers to configure the user in a dedicated
|
||||
'system-user-prometheus' subpackage (bsc#1235516)
|
||||
* Remove systemd and shadow hard requirements
|
||||
* Require Go 1.22 or newer for building
|
||||
* Drop BuildRequires: golang-packaging
|
||||
* Drop mod=vendor
|
||||
* Run `node_exporter --version` in the %check phase
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 14 15:22:00 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
|
4
golang-github-prometheus-node_exporter.obsinfo
Normal file
4
golang-github-prometheus-node_exporter.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: golang-github-prometheus-node_exporter
|
||||
version: 1.9.1
|
||||
mtime: 1743520454
|
||||
commit: f2ec547b49af53815038a50265aa2adcd1275959
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package golang-github-prometheus-node_exporter
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2017 Silvio Moioli <moio@suse.com>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,28 +17,25 @@
|
||||
#
|
||||
|
||||
|
||||
%{go_nostrip}
|
||||
|
||||
Name: golang-github-prometheus-node_exporter
|
||||
Version: 1.8.2
|
||||
Version: 1.9.1
|
||||
Release: 0
|
||||
Summary: Prometheus exporter for machine metrics
|
||||
License: Apache-2.0
|
||||
Group: System/Management
|
||||
URL: https://prometheus.io/
|
||||
Source: node_exporter-%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
# Generated after applying fix_arp_collector.patch
|
||||
Source1: vendor.tar.gz
|
||||
Source2: prometheus-node_exporter.service
|
||||
Source4: prometheus-node_exporter.sysconfig
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: golang-github-prometheus-promu >= 0.12.0
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: golang(API) >= 1.21
|
||||
BuildRequires: golang(API) >= 1.23
|
||||
%{?systemd_ordering}
|
||||
Requires(post): %fillup_prereq
|
||||
Requires(pre): shadow
|
||||
%{go_provides}
|
||||
Requires(pre): user(prometheus)
|
||||
Requires(pre): group(prometheus)
|
||||
Provides: node_exporter
|
||||
Provides: prometheus(node_exporter)
|
||||
ExcludeArch: s390
|
||||
@@ -48,30 +45,31 @@ ExcludeArch: s390
|
||||
%endif
|
||||
|
||||
%description
|
||||
Prometheus exporter for hardware and OS metrics exposed by *NIX kernels, written in Go with pluggable metric collectors.
|
||||
Prometheus exporter for hardware and OS metrics exposed by *NIX kernels,
|
||||
written in Go with pluggable metric collectors.
|
||||
|
||||
%prep
|
||||
%autosetup -a1 -p1 -n node_exporter-%{version}
|
||||
%autosetup -a1 -p1
|
||||
|
||||
%build
|
||||
%goprep github.com/prometheus/node_exporter
|
||||
export BUILDFLAGS="-v -p 4 -x -buildmode=pie -mod=vendor"
|
||||
GOPATH=%{_builddir}/go promu build
|
||||
%ifarch i586 s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
|
||||
export BUILD_CGO_FLAG="--cgo"
|
||||
%endif
|
||||
export GOFLAGS="-buildmode=pie"
|
||||
promu build -v $BUILD_CGO_FLAG
|
||||
|
||||
%install
|
||||
%goinstall
|
||||
install -D -m 0755 %{_builddir}/node_exporter-%{version}/node_exporter %{buildroot}/%{_bindir}/node_exporter
|
||||
install -D -m 0755 %{_builddir}/%{name}-%{version}/node_exporter %{buildroot}/%{_bindir}/node_exporter
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/prometheus-node_exporter.service
|
||||
install -D -m 0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.prometheus-node_exporter
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%check
|
||||
%gotest github.com/prometheus/node_exporter -mod=vendor
|
||||
go test -x .
|
||||
./node_exporter --version
|
||||
|
||||
%pre
|
||||
%service_add_pre prometheus-node_exporter.service
|
||||
getent group prometheus >/dev/null || %{_sbindir}/groupadd -r prometheus
|
||||
getent passwd prometheus >/dev/null || %{_sbindir}/useradd -r -g prometheus -d %{_localstatedir}/lib/prometheus -M -s /sbin/nologin prometheus
|
||||
|
||||
%post
|
||||
%service_add_post prometheus-node_exporter.service
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ead72ad6134976a40931e0c4c9e9ba689a231a1161aade1a4ed4b7190a6d8b1f
|
||||
size 2037772
|
@@ -1,4 +0,0 @@
|
||||
name: node_exporter
|
||||
version: 1.8.2
|
||||
mtime: 1720957931
|
||||
commit: f1e0e8360aa60b6cb5e5cc1560bed348fc2c1895
|
BIN
vendor.tar.gz
(Stored with Git LFS)
BIN
vendor.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user