Releases: prometheus/node_exporter
1.0.0-rc.1 / 2020-05-14
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. #1279 - The label named
state
onnode_systemd_service_restart_total
metrics was changed toname
to better describe the metric. #1393 - Refactoring of the mdadm collector changes several metrics
node_md_disks_active
is removednode_md_disks
now has astate
label for "fail", "spare", "active" disks.node_md_is_active
is replaced bynode_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. #1417 - 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. #1510
- 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
. #1279 - [CHANGE] Ignore iso9600 filesystem on Linux #1355
- [CHANGE] Refactor mdadm collector #1403
- [CHANGE] Add
mountaddr
label to NFS metrics. #1417 - [CHANGE] Don't count empty collectors as success. #1613
- [FEATURE] New flag to disable default collectors #1276
- [FEATURE] Add experimental TLS support #1277, #1687, #1695
- [FEATURE] Add collector for Power Supply Class #1280
- [FEATURE] Add new schedstat collector #1389
- [FEATURE] Add FreeBSD zfs support #1394
- [FEATURE] Add uname support for Darwin and OpenBSD #1433
- [FEATURE] Add new metric node_cpu_info #1489
- [FEATURE] Add new thermal_zone collector #1425
- [FEATURE] Add new cooling_device metrics to thermal zone collector #1445
- [FEATURE] Add swap usage on darwin #1508
- [FEATURE] Add Btrfs collector #1512
- [FEATURE] Add RAPL collector #1523
- [FEATURE] Add new softnet collector #1576
- [FEATURE] Add new udp_queues collector #1503
- [FEATURE] Add basic authentication #1673
- [ENHANCEMENT] Log pid when there is a problem reading the process stats #1341
- [ENHANCEMENT] Collect InfiniBand port state and physical state #1357
- [ENHANCEMENT] Include additional XFS runtime statistics. #1423
- [ENHANCEMENT] Report non-fatal collection errors in the exporter metric. #1439
- [ENHANCEMENT] Expose IPVS firewall mark as a label #1455
- [ENHANCEMENT] Add check for systemd version before attempting to query certain metrics. #1413
- [ENHANCEMENT] Add a flag to adjust mount timeout #1486
- [ENHANCEMENT] Add new counters for flush requests in Linux 5.5 #1548
- [ENHANCEMENT] Add metrics and tests for UDP receive and send buffer errors #1534
- [ENHANCEMENT] The sockstat collector now exposes IPv6 statistics in addition to the existing IPv4 support. #1552
- [ENHANCEMENT] Add infiniband info metric #1563
- [ENHANCEMENT] Add unix socket support for supervisord collector #1592
- [ENHANCEMENT] Implement loadavg on all BSDs without cgo #1584
- [ENHANCEMENT] Add model_name and stepping to node_cpu_info metric #1617
- [ENHANCEMENT] Add
--collector.perf.cpus
to allow setting the CPU list for perf stats. #1561 - [ENHANCEMENT] Add metrics for IO errors and retires on Darwin. #1636
- [ENHANCEMENT] Add perf tracepoint collection flag #1664
- [ENHANCEMENT] ZFS: read contents of objset file #1632
- [BUGFIX] Read /proc/net files with a single read syscall #1380
- [BUGFIX] Renamed label
state
toname
onnode_systemd_service_restart_total
. #1393 - [BUGFIX] Fix netdev nil reference on Darwin #1414
- [BUGFIX] Strip path.rootfs from mountpoint labels #1421
- [BUGFIX] Fix seconds reported by schedstat #1426
- [BUGFIX] Fix empty string in path.rootfs #1464
- [BUGFIX] Fix typo in cpufreq metric names #1510
- [BUGFIX] Read /proc/stat in one syscall #1538
- [BUGFIX] Fix OpenBSD cache memory information #1542
- [BUGFIX] Refactor textfile collector to avoid looping defer #1549
- [BUGFIX] Fix network speed math #1580
- [BUGFIX] collector/systemd: use regexp to extract systemd version #1647
- [BUGFIX] Fix initialization in perf collector when using multiple CPUs #1665
- [BUGFIX] Fix accidentally empty lines in meminfo_linux #1671
1.0.0-rc.0 / 2020-02-20
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. #1279 - The label named
state
onnode_systemd_service_restart_total
metrics was changed toname
to better describe the metric. #1393 - Refactoring of the mdadm collector changes several metrics
node_md_disks_active
is removednode_md_disks
now has astate
label for "fail", "spare", "active" disks.node_md_is_active
is replaced bynode_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. #1417 - 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. #1510
- Collectors that are enabled, but are unable to find data to collect, now return 0 for
node_scrape_collector_success
.
Changes
- [ENHANCEMENT] Add
--collector.perf.cpus
to allow setting the CPU list for perf stats. - [CHANGE] Add
--collector.netdev.device-whitelist
. #1279 - [CHANGE] Ignore iso9600 filesystem on Linux #1355
- [CHANGE] Refactor mdadm collector #1403
- [CHANGE] Add
mountaddr
label to NFS metrics. #1417 - [CHANGE] Don't count empty collectors as success. #1613
- [FEATURE] New flag to disable default collectors #1276
- [FEATURE] Add experimental TLS support #1277
- [FEATURE] Add collector for Power Supply Class #1280
- [FEATURE] Add new schedstat collector #1389
- [FEATURE] Add FreeBSD zfs support #1394
- [FEATURE] Add uname support for Darwin and OpenBSD #1433
- [FEATURE] Add new metric node_cpu_info #1489
- [FEATURE] Add new thermal_zone collector #1425
- [FEATURE] Add new cooling_device metrics to thermal zone collector #1445
- [FEATURE] Add swap usage on darwin #1508
- [FEATURE] Add Btrfs collector #1512
- [FEATURE] Add RAPL collector #1523
- [FEATURE] Add new softnet collector #1576
- [ENHANCEMENT] Log pid when there is a problem reading the process stats #1341
- [ENHANCEMENT] Collect InfiniBand port state and physical state #1357
- [ENHANCEMENT] Include additional XFS runtime statistics. #1423
- [ENHANCEMENT] Report non-fatal collection errors in the exporter metric. #1439
- [ENHANCEMENT] Expose IPVS firewall mark as a label #1455
- [ENHANCEMENT] Add check for systemd version before attempting to query certain metrics. #1413
- [ENHANCEMENT] Add a flag to adjust mount timeout #1486
- [ENHANCEMENT] Add new counters for flush requests in Linux 5.5 #1548
- [ENHANCEMENT] Add metrics and tests for UDP receive and send buffer errors #1534
- [ENHANCEMENT] The sockstat collector now exposes IPv6 statistics in addition to the existing IPv4 support. #1552
- [ENHANCEMENT] Add infiniband info metric #1563
- [ENHANCEMENT] Add unix socket support for supervisord collector #1592
- [ENHANCEMENT] Implement loadavg on all BSDs without cgo #1584
- [BUGFIX] Read /proc/net files with a single read syscall #1380
- [BUGFIX] Renamed label
state
toname
onnode_systemd_service_restart_total
. #1393 - [BUGFIX] Fix netdev nil reference on Darwin #1414
- [BUGFIX] Strip path.rootfs from mountpoint labels #1421
- [BUGFIX] Fix seconds reported by schedstat #1426
- [BUGFIX] Fix empty string in path.rootfs #1464
- [BUGFIX] Fix typo in cpufreq metric names #1510
- [BUGFIX] Read /proc/stat in one syscall #1538
- [BUGFIX] Fix OpenBSD cache memory information #1542
- [BUGFIX] Refactor textfile collector to avoid looping defer #1549
- [BUGFIX] Fix network speed math #1580
0.18.1 / 2019-06-04
0.18.0 / 2019-05-09
Breaking changes
- Renamed
interface
label todevice
in netclass collector for consistency with
other network metrics #1224 - The cpufreq metrics now separate the
cpufreq
andscaling
data based on what the driver provides. #1248 - The labels for the network_up metric have changed, see issue #1236
- Bonding collector now uses
mii_status
instead ofoperstatus
#1124 - Several systemd metrics have been turned off by default to improve performance #1254
These include unit_tasks_current, unit_tasks_max, service_restart_total, and unit_start_time_seconds - The systemd collector blacklist now includes automount, device, mount, and slice units by default. #1255
Changes
- [CHANGE] Bonding state uses mii_status #1124
- [CHANGE] Add a limit to the number of in-flight requests #1166
- [CHANGE] Renamed
interface
label todevice
in netclass collector #1224 - [CHANGE] Add separate cpufreq and scaling metrics #1248
- [CHANGE] Several systemd metrics have been turned off by default to improve performance #1254
- [CHANGE] Expand systemd collector blacklist #1255
- [CHANGE] Split cpufreq metrics into a separate collector #1253
- [FEATURE] Add a flag to disable exporter metrics #1148
- [FEATURE] Add kstat-based Solaris metrics for boottime, cpu and zfs collectors #1197
- [FEATURE] Add uname collector for FreeBSD #1239
- [FEATURE] Add diskstats collector for OpenBSD #1250
- [FEATURE] Add pressure collector exposing pressure stall information for Linux #1174
- [FEATURE] Add perf exporter for Linux #1274
- [ENHANCEMENT] Add Infiniband counters #1120
- [ENHANCEMENT] Add TCPSynRetrans to netstat default filter #1143
- [ENHANCEMENT] Move network_up labels into new metric network_info #1236
- [ENHANCEMENT] Use 64-bit counters for Darwin netstat
- [BUGFIX] Add fallback for missing /proc/1/mounts #1172
- [BUGFIX] Fix node_textfile_mtime_seconds to work properly on symlinks #1326
0.17.0 / 2018-11-30
Build note: Linux builds can now be built without CGO.
Breaking changes
supvervisord collector reports start_time_seconds
rather than uptime
#952
The wifi collector is disabled by default due to suspected caching issues and goroutine leaks.
Darwin meminfo metrics have been renamed to match Prometheus conventions. #1060
Changes
-
[CHANGE] Filter out non-installed units when collecting all systemd units #1011
-
[CHANGE]
service_restart_total
andsocket_refused_connections_total
will not be reported if you're running an older version of systemd -
[CHANGE] Use /proc/mounts instead of statfs(2) for ro state #1002
-
[CHANGE] collector/timex: remove cgo dependency #1079
-
[CHANGE] filesystem: Ignore Docker netns mounts #1047
-
[CHANGE] Ignore additional virtual filesystems #1104
-
[FEATURE] Add netclass collector #851
-
[FEATURE] Add processes collector #950
-
[FEATURE] Collect start time for systemd units #952
-
[FEATURE] Add socket unit stats to systemd collector #968
-
[FEATURE] Collect NRestarts property for systemd service units #992
-
[FEATURE] Collect NRefused property for systemd socket units (available as of systemd v239) #995
-
[FEATURE] Allow removal of rootfs prefix for run in docker #1058
-
[ENHANCEMENT] Support for octal characters in mountpoints #954
-
[ENHANCEMENT] Update wifi stats to support multiple stations #980
-
[ENHANCEMENT] Handle stuck NFS mounts #997
-
[ENHANCEMENT] infiniband: Handle iWARP RDMA modules N/A #974
-
[ENHANCEMENT] Update diskstats for linux kernel 4.19 #1109
-
[BUGFIX] Fix FreeBSD CPU temp #965
-
[BUGFIX] Fix goroutine leak in supervisord collector #978
-
[BUGFIX] Fix mdadm collector issues #985
-
[BUGFIX] Fix ntp collector thread safety #1014
-
[BUGFIX] Systemd units will not be ignored if you're running older versions of systemd #1039
-
[BUGFIX] Handle vanishing PIDs #1043
-
[BUGFIX] Correctly cast Darwin memory info #1060
-
[BUGFIX] Filter systemd units in Go for compatibility with older versions #1083
-
[BUGFIX] Update cpu collector for OpenBSD 6.4 #1094
-
[BUGFIX] Fix typo on HELP of
read_time_seconds_total
#1057 -
[BUGFIX] collector/diskstats: don't fail if there are extra stats #1125
-
[BUGFIX] collector/hwmon_linux: handle temperature sensor file #1123
-
[BUGFIX] collector/filesystem: add bounds check #1133
-
[BUGFIX] Fix dragonfly's CPU counting frequency #1140
-
[BUGFIX] Add fallback for missing /proc/1/mounts #1172
0.17.0-rc.0 / 2018-10-19
Build note: Linux builds can now be built without CGO.
Breaking changes
supvervisord collector reports "start_time_seconds" rather than "uptime" #952
The wifi collector is disabled by default due to suspected caching issues and goroutine leaks.
Darwin meminfo metrics have been renamed to match Prometheus conventions. #1060
Changes
-
[CHANGE] Filter out non-installed units when collecting all systemd units #1011
-
[CHANGE]
service_restart_total
andsocket_refused_connections_total
will not be reported if you're running an older version of systemd -
[CHANGE] Use /proc/mounts instead of statfs(2) for ro state #1002
-
[CHANGE] collector/timex: remove cgo dependency #1079
-
[CHANGE] filesystem: Ignore Docker netns mounts #1047
-
[CHANGE] Ignore additional virtual filesystems #1104
-
[FEATURE] Add netclass collector #851
-
[FEATURE] Add processes collector #950
-
[FEATURE] Collect start time for systemd units #952
-
[FEATURE] Add socket unit stats to systemd collector #968
-
[FEATURE] Collect NRestarts property for systemd service units #992
-
[FEATURE] Collect NRefused property for systemd socket units (available as of systemd v239) #995
-
[FEATURE] Allow removal of rootfs prefix for run in docker #1058
-
[ENHANCEMENT] Support for octal characters in mountpoints #954
-
[ENHANCEMENT] Update wifi stats to support multiple stations #980
-
[ENHANCEMENT] Handle stuck NFS mounts #997
-
[ENHANCEMENT] infiniband: Handle iWARP RDMA modules N/A #974
-
[ENHANCEMENT] Update diskstats for linux kernel 4.19 #1109
-
[BUGFIX] Fix FreeBSD CPU temp #965
-
[BUGFIX] Fix goroutine leak in supervisord collector #978
-
[BUGFIX] Fix mdadm collector issues #985
-
[BUGFIX] Fix ntp collector thread safety #1014
-
[BUGFIX] Systemd units will not be ignored if you're running older versions of systemd #1039
-
[BUGFIX] Handle vanishing PIDs #1043
-
[BUGFIX] Correctly cast Darwin memory info #1060
-
[BUGFIX] Filter systemd units in Go for compatibility with older versions #1083
-
[BUGFIX] Update cpu collector for OpenBSD 6.4 #1094
-
[BUGFIX] Fix typo on HELP of
read_time_seconds_total
#1057
0.16.0 / 2018-05-15
Breaking changes
This release contains major breaking changes to metric names. Many metrics have new names, labels, and label values in order to conform to current naming conventions.
- Linux node_cpu metrics now break out
guest
values into separate metrics. See Issue #737 - Many counter metrics have been renamed to include
_total
. - Many metrics have been renamed/modified to include base units, for example
node_cpu
is nownode_cpu_seconds_total
.
In order to help with the transition we have an upgrade guide.
Other breaking changes:
-
The megacli collector has been removed, is now replaced by the storcli.py textfile helper.
-
The gmond collector has been removed.
-
The textfile collector will now treat timestamps as errors.
-
[CHANGE] Split out guest cpu metrics on Linux. #744
-
[CHANGE] Exclude Linux proc from filesystem type regexp #774
-
[CHANGE] Ignore more virtual filesystems #775
-
[CHANGE] Remove obsolete megacli collector. #798
-
[CHANGE] Ignore /var/lib/docker by default. #814
-
[CHANGE] Cleanup NFS metrics #834
-
[CHANGE] Only report core throttles per core, not per cpu #836
-
[CHANGE] Treat custom textfile metric timestamps as errors #769
-
[CHANGE] Use lowercase cpu label name in interrupts #849
-
[CHANGE] Enable bonding collector by default. #872
-
[CHANGE] Greatly reduce the metrics vmstat returns by default. #874
-
[CHANGE] Greatly trim what netstat collector exposes by default #876
-
[CHANGE] Drop
exec_
prefix and movenode_boot_time_seconds
fromexec
to newboottime
collector and enable for Darwin/Dragonfly/FreeBSD/NetBSD/OpenBSD. #839, #901 -
[CHANGE] Remove depreated gmond collector #852
-
[CHANGE] align Darwin disk stat names with Linux #930
-
[FEATURE] Add
collect[]
parameter #699 -
[FEATURE] Add text collector conversion for ipmitool output. #746
-
[FEATURE] Add openbsd meminfo #724
-
[FEATURE] Add systemd summary metrics #765
-
[FEATURE] Add OpenBSD CPU collector #805
-
[FEATURE] Add NFS Server metrics collector. #803
-
[FEATURE] add sample directory size exporter #789
-
[ENHANCEMENT] added Wear_Leveling_Count attribute to smartmon.sh script #707
-
[ENHANCEMENT] Simplify Utsname string conversion #716
-
[ENHANCEMENT] apt.sh: handle multiple origins in apt-get output #757
-
[ENHANCEMENT] Export systemd timers last trigger seconds. #807
-
[ENHANCEMENT] updates for zfsonlinux 0.7.5 #779
-
[BUGFIX] Fix smartmon.sh textfile script #700
-
[BUGFIX] netdev: Change valueType to CounterValue #749
-
[BUGFIX] textfile: fix duplicate metrics error #738
-
[BUGFIX] Fix panic by updating github.com/ema/qdisc dependency #778
-
[BUGFIX] Use uint64 in the ZFS collector #714
-
[BUGFIX] multiply page size after float64 coercion to avoid signed integer overflow #780
-
[BUGFIX] smartmon: Escape double quotes in device model family #772
-
[BUGFIX] Correct the ClocksPerSec scaling factor on Darwin #846
-
[BUGFIX] Count core throttles per core and per package #871
-
[BUGFIX] Fix memory corruption when number of filesystems > 16 on FreeBSD #900
-
[BUGFIX] Fix parsing of interface aliases in netdev linux #904
0.16.0-rc.3 / 2018-04-27
0.16.0-rc.2 / 2018-04-17
Changes since 0.16.0-rc.1
- [CHANGE] Move
node_boot_time_seconds
fromexec
to newboottime
collector and enable for Darwin/Dragonfly/FreeBSD/NetBSD/OpenBSD. #839, #901 - [BUGFIX] Count core throttles per core and per package #871
- [BUGFIX] Fix netdev collector for linux #890
- [BUGFIX] Fix memory corruption when number of filesystems > 16 on FreeBSD #900
- [BUGFIX] Fix parsing of interface aliases in netdev linux #904