Compare commits
14 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 51cabdda83 | |||
| 99f6c86ddf | |||
| 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.10.2</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>
|
||||
|
||||
3
golang-github-prometheus-node_exporter-1.10.2.obscpio
Normal file
3
golang-github-prometheus-node_exporter-1.10.2.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bfc001b3ca773201bc2b7177d053dc8ece1dc378b793684d079207b7a47cdf8
|
||||
size 2530316
|
||||
@@ -1,3 +1,114 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 06:07:41 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.10.2:
|
||||
* [BUGFIX] meminfo: Fix typo in Zswap metric name #3455
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 06:05:45 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.10.1:
|
||||
* [BUGFIX] filesystem: Fix mount points being collected multiple
|
||||
times #3376
|
||||
* [BUGFIX] filesystem: Refactor mountinfo parsing #3452
|
||||
* [BUGFIX] meminfo: Add Zswap/Zswapped metrics #3453
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 05:57:38 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- update to 1.10.0:
|
||||
* [CHANGE] mdadm: Use sysfs for RAID metrics #3031
|
||||
* [CHANGE] filesystem: Add erofs in default excluded fs #3313
|
||||
* [CHANGE] tcpstat: Use std lib binary.NativeEndian #3386
|
||||
* [FEATURE] pcidevice: Add new collector for PCIe devices #3339
|
||||
* [FEATURE] AIX: Add more metrics #3338
|
||||
* [FEATURE] systemd: Add Virtualization metrics #3254
|
||||
* [FEATURE] swaps: Add new collector #3428
|
||||
* [ENHANCEMENT] wifi: Add packet received and transmitted metrics
|
||||
#3382
|
||||
* [ENHANCEMENT] filesystem: Take super options into account for
|
||||
read-only #3387
|
||||
* [ENHANCEMENT] pcidevice: Add additional metrics #3425
|
||||
* [ENHANCEMENT] perf: Add tlb_data metrics #3436
|
||||
* [BUGFIX] interrupts: Fix OpenBSD interrupt device parsing #3288
|
||||
* [BUGFIX] diskstats: Simplify condition #3290
|
||||
* [BUGFIX] thermal: Sanitize darwin thermal strings #3294
|
||||
* [BUGFIX] filesystem: Fix Darwin collector cgo memory leak #3315
|
||||
* [BUGFIX] cpufreq: Fix: collector enable #3318
|
||||
* [BUGFIX] ethtool: Fix returning 0 for sanitized metrics #3335
|
||||
* [BUGFIX] netdev: Fix Darwin netdev i/o bytes metric #3336
|
||||
* [BUGFIX] systemd: Fix logging race #3364
|
||||
* [BUGFIX] filesystem: Fix duplicate Darwin CGO import #3391
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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.10.2
|
||||
mtime: 1761422577
|
||||
commit: 654f19dee6a0c41de78a8d6d870e8c742cdb43b9
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package golang-github-prometheus-node_exporter
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# 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.10.2
|
||||
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
|
||||
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6a14a1ec8c0d5cc22059ccb0d93f78017fbbc69a18ce243fa20f2c5be90cc9f
|
||||
size 3557677
|
||||
oid sha256:91071818ca50cd1759b36f957bda061d8b5b2563cbedfd3de1947abf6c32a3d6
|
||||
size 3585223
|
||||
|
||||
Reference in New Issue
Block a user