pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/node_exporter node_exporter: updated to 1.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d9e8e85c31e
branches:  trunk
changeset: 439949:7d9e8e85c31e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 30 13:14:16 2020 +0000

description:
node_exporter: updated to 1.0.1

1.0.1:
[BUGFIX] filesystem_freebsd: Fix label values
[BUGFIX] Update prometheus/procfs to fix log noise
[BUGFIX] Fix build tags for collectors
[BUGFIX] Handle no data from powersupplyclass


1.0.0:

Breaking changes
The netdev collector CLI argument --collector.netdev.ignored-devices was renamed to --collector.netdev.device-blacklist in order to conform with the systemd collector.
The label named state on node_systemd_service_restart_total metrics was changed to name to better describe the metric.
Refactoring of the mdadm collector changes several metrics
node_md_disks_active is removed
node_md_disks now has a state label for "failed", "spare", "active" disks.
node_md_is_active is replaced by node_md_state with a state set of "active", "inactive", "recovering", "resync".
Additional label mountaddr added to NFS device metrics to distinguish mounts from the same URL, but different IP addresses.
Metrics node_cpu_scaling_frequency_min_hrts and node_cpu_scaling_frequency_max_hrts of the cpufreq collector were renamed to node_cpu_scaling_frequency_min_hertz and 
node_cpu_scaling_frequency_max_hertz.
Collectors that are enabled, but are unable to find data to collect, now return 0 for node_scrape_collector_success.

Changes
[CHANGE] Add --collector.netdev.device-whitelist.
[CHANGE] Ignore iso9600 filesystem on Linux
[CHANGE] Refactor mdadm collector
[CHANGE] Add mountaddr label to NFS metrics.
[CHANGE] Don't count empty collectors as success.
[FEATURE] New flag to disable default collectors
[FEATURE] Add experimental TLS support
[FEATURE] Add collector for Power Supply Class
[FEATURE] Add new schedstat collector
[FEATURE] Add FreeBSD zfs support
[FEATURE] Add uname support for Darwin and OpenBSD
[FEATURE] Add new metric node_cpu_info
[FEATURE] Add new thermal_zone collector
[FEATURE] Add new cooling_device metrics to thermal zone collector
[FEATURE] Add swap usage on darwin
[FEATURE] Add Btrfs collector
[FEATURE] Add RAPL collector
[FEATURE] Add new softnet collector
[FEATURE] Add new udp_queues collector
[FEATURE] Add basic authentication
[ENHANCEMENT] Log pid when there is a problem reading the process stats
[ENHANCEMENT] Collect InfiniBand port state and physical state
[ENHANCEMENT] Include additional XFS runtime statistics.
[ENHANCEMENT] Report non-fatal collection errors in the exporter metric.
[ENHANCEMENT] Expose IPVS firewall mark as a label
[ENHANCEMENT] Add check for systemd version before attempting to query certain metrics.
[ENHANCEMENT] Add a flag to adjust mount timeout
[ENHANCEMENT] Add new counters for flush requests in Linux 5.5
[ENHANCEMENT] Add metrics and tests for UDP receive and send buffer errors
[ENHANCEMENT] The sockstat collector now exposes IPv6 statistics in addition to the existing IPv4 support.
[ENHANCEMENT] Add infiniband info metric
[ENHANCEMENT] Add unix socket support for supervisord collector
[ENHANCEMENT] Implement loadavg on all BSDs without cgo
[ENHANCEMENT] Add model_name and stepping to node_cpu_info metric
[ENHANCEMENT] Add --collector.perf.cpus to allow setting the CPU list for perf stats.
[ENHANCEMENT] Add metrics for IO errors and retires on Darwin.
[ENHANCEMENT] Add perf tracepoint collection flag
[ENHANCEMENT] ZFS: read contents of objset file
[ENHANCEMENT] Linux CPU: Cache CPU metrics to make them monotonically increasing
[BUGFIX] Read /proc/net files with a single read syscall
[BUGFIX] Renamed label state to name on node_systemd_service_restart_total.
[BUGFIX] Fix netdev nil reference on Darwin
[BUGFIX] Strip path.rootfs from mountpoint labels
[BUGFIX] Fix seconds reported by schedstat
[BUGFIX] Fix empty string in path.rootfs
[BUGFIX] Fix typo in cpufreq metric names
[BUGFIX] Read /proc/stat in one syscall
[BUGFIX] Fix OpenBSD cache memory information
[BUGFIX] Refactor textfile collector to avoid looping defer
[BUGFIX] Fix network speed math
[BUGFIX] collector/systemd: use regexp to extract systemd version
[BUGFIX] Fix initialization in perf collector when using multiple CPUs
[BUGFIX] Fix accidentally empty lines in meminfo_linux

diffstat:

 sysutils/node_exporter/Makefile                                                                 |   5 +-
 sysutils/node_exporter/distinfo                                                                 |  12 ++--
 sysutils/node_exporter/patches/patch-collector_cpufreq__solaris.go                              |  24 ----------
 sysutils/node_exporter/patches/patch-vendor_github.com_sirupsen_logrus_terminal__check__unix.go |  12 -----
 4 files changed, 7 insertions(+), 46 deletions(-)

diffs (75 lines):

diff -r 506497a91c30 -r 7d9e8e85c31e sysutils/node_exporter/Makefile
--- a/sysutils/node_exporter/Makefile   Wed Sep 30 13:12:20 2020 +0000
+++ b/sysutils/node_exporter/Makefile   Wed Sep 30 13:14:16 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2020/09/03 07:29:53 bsiegert Exp $
+# $NetBSD: Makefile,v 1.16 2020/09/30 13:14:16 adam Exp $
 
-DISTNAME=      node_exporter-0.18.1
+DISTNAME=      node_exporter-1.0.1
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=prometheus/}
-PKGREVISION=   12
 CATEGORIES=    sysutils
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
diff -r 506497a91c30 -r 7d9e8e85c31e sysutils/node_exporter/distinfo
--- a/sysutils/node_exporter/distinfo   Wed Sep 30 13:12:20 2020 +0000
+++ b/sysutils/node_exporter/distinfo   Wed Sep 30 13:14:16 2020 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/06/05 19:19:38 adam Exp $
+$NetBSD: distinfo,v 1.3 2020/09/30 13:14:16 adam Exp $
 
-SHA1 (node_exporter-0.18.1.tar.gz) = 7df18bbe353e6393519738ec8010172869df55d4
-RMD160 (node_exporter-0.18.1.tar.gz) = e4043a6345c4650cd99d0cabdceea333bf3bc596
-SHA512 (node_exporter-0.18.1.tar.gz) = cf2b854fbec1ba39b18432cdc11ab507ebc5b2828e6b34b4f49af9b949fcd365cb3e5eb1e265d0825783810c6b1572a8b3512ec27a46e5c83f89a505590159c0
-Size (node_exporter-0.18.1.tar.gz) = 2110072 bytes
-SHA1 (patch-collector_cpufreq__solaris.go) = d8acca33c0f2a0d861a16b4ceaa63ede3999ac40
-SHA1 (patch-vendor_github.com_sirupsen_logrus_terminal__check__unix.go) = 3f91368fe7c8cde518fea17dc1cd513602b7135d
+SHA1 (node_exporter-1.0.1.tar.gz) = a74afa37e7b7ef55904f018954bef04678a2c6cf
+RMD160 (node_exporter-1.0.1.tar.gz) = c1bf34bc93f44db6fefc47a0fac86cd03de5b049
+SHA512 (node_exporter-1.0.1.tar.gz) = 0643042a04494a65d1ebdedf78671a1e3473b7ac6f3bc606fa2c52e893dfc68b591ef7e38ac6768c4c529c25b831811c01839475a4fde9baeb0a6c581a57839f
+Size (node_exporter-1.0.1.tar.gz) = 2792033 bytes
diff -r 506497a91c30 -r 7d9e8e85c31e sysutils/node_exporter/patches/patch-collector_cpufreq__solaris.go
--- a/sysutils/node_exporter/patches/patch-collector_cpufreq__solaris.go        Wed Sep 30 13:12:20 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-collector_cpufreq__solaris.go,v 1.1 2019/05/22 11:54:06 jperkin Exp $
-
-Fix SunOS build.
-
---- collector/cpufreq_solaris.go.orig  2019-05-09 18:19:12.000000000 +0000
-+++ collector/cpufreq_solaris.go
-@@ -36,7 +36,7 @@ func init() {
-       registerCollector("cpufreq", defaultEnabled, NewCpuFreqCollector)
- }
- 
--func NewFreqCpuCollector() (Collector, error) {
-+func NewCpuFreqCollector() (Collector, error) {
-       return &cpuFreqCollector{
-               cpuFreq: prometheus.NewDesc(
-                       prometheus.BuildFQName(namespace, cpuCollectorSubsystem, "frequency_hertz"),
-@@ -51,7 +51,7 @@ func NewFreqCpuCollector() (Collector, e
-       }, nil
- }
- 
--func (c *cpuCollector) Update(ch chan<- prometheus.Metric) error {
-+func (c *cpuFreqCollector) Update(ch chan<- prometheus.Metric) error {
-       ncpus := C.sysconf(C._SC_NPROCESSORS_ONLN)
- 
-       tok, err := kstat.Open()
diff -r 506497a91c30 -r 7d9e8e85c31e sysutils/node_exporter/patches/patch-vendor_github.com_sirupsen_logrus_terminal__check__unix.go
--- a/sysutils/node_exporter/patches/patch-vendor_github.com_sirupsen_logrus_terminal__check__unix.go   Wed Sep 30 13:12:20 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-vendor_github.com_sirupsen_logrus_terminal__check__unix.go,v 1.1 2019/05/22 11:54:06 jperkin Exp $
-
-Fix SunOS build.
-
---- vendor/github.com/sirupsen/logrus/terminal_check_unix.go.orig      2019-05-09 18:19:12.000000000 +0000
-+++ vendor/github.com/sirupsen/logrus/terminal_check_unix.go
-@@ -1,4 +1,4 @@
--// +build linux aix
-+// +build linux aix solaris
- 
- package logrus
- 



Home | Main Index | Thread Index | Old Index