aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
Commit message (Collapse)AuthorAge
* Fix up node_md_disks changelog entryBen Kochie2020-06-29
| | | | | | Fixes: https://github.com/prometheus/node_exporter/issues/1759 Signed-off-by: Ben Kochie <superq@gmail.com>
* Merge pull request #1733 from prometheus/superq/OutRstsBen Kochie2020-06-18
|\ | | | | Include TCP OutRsts in netstat metrics
| * Include TCP OutRsts in netstat metricsBen Kochie2020-06-04
| | | | | | | | | | | | | | TCP "OutRsts" is the number of TCP Resets sent by the node. This can be useful for monitoring connection failures and flooding. Signed-off-by: Ben Kochie <superq@gmail.com>
* | Update for 1.0.1 releaseBen Kochie2020-06-15
| | | | | | | | | | | | Update changelog and version for 1.0.1 release. Signed-off-by: Ben Kochie <superq@gmail.com>
* | Merge pull request #1747 from prometheus/superq/fix_powersupplyclassBen Kochie2020-06-14
|\ \ | | | | | | Handle no data from powersupplyclass
| * | Handle no data from powersupplyclassBen Kochie2020-06-13
| |/ | | | | | | | | | | | | | | | | Handle the case when /sys/class/power_supply doesn't exist. Fixes logging error spam. Requires https://github.com/prometheus/procfs/pull/308 Signed-off-by: Ben Kochie <superq@gmail.com>
* / Improve filter flag names.Ben Kochie2020-06-12
|/ | | | | | | | | | | | | | | Update netdev and systemd collectors to deprecate poorly chosen flag names. Old flag names to be removed in 2.0.0. https://github.com/prometheus/node_exporter/issues/1742 Add log messages for parsed flag values to help discover quoting isuses in supervisors. https://github.com/prometheus/node_exporter/issues/1737 Signed-off-by: Ben Kochie <superq@gmail.com>
* Release 1.0.0Ben Kochie2020-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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` on `node_systemd_service_restart_total` metrics was changed to `name` to better describe the metric. #1393 * Refactoring of the mdadm collector changes several metrics - `node_md_disks_active` is removed - `node_md_disks` now has a `state` label for "fail", "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. #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`. * [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 * [ENHANCEMENT] Linux CPU: Cache CPU metrics to make them monotonically increasing #1711 * [BUGFIX] Read /proc/net files with a single read syscall #1380 * [BUGFIX] Renamed label `state` to `name` on `node_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 Signed-off-by: Ben Kochie <superq@gmail.com>
* Linux CPU: Cache CPU metricsBen Kochie2020-05-24
| | | | | | | | Cache CPU metrics to avoid counters (ie iowait) jumping backwards. Fixes: https://github.com/prometheus/node_exporter/issues/1686 Signed-off-by: Ben Kochie <superq@gmail.com>
* Release 1.0.0-rc.1v1.0.0-rc.1Ben Kochie2020-05-14
| | | | | | | * Update CHANGELOG with fixes and improvements from rc.0 Signed-off-by: Ben Kochie <superq@gmail.com> Signed-off-by: Richard Hartmann <richih@richih.org>
* Add basic authentication (#1683)Julien Pivotto2020-05-01
| | | | | * Add basic authentication Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Add gauges for allocated memory for queued UDP and TCP packages (#1503)Peter Bueschel2020-03-31
| | | | | | | | | | | | | | | | * Two new states will be added to the tcpstat collector called rx_queued_bytes and tx_queued_bytes. For UDP datagrams an additional collector 'udp_queues' can be used to expose the total lengths of the tx_queue and rx_queue. @SuperQ and @discordianfish this changes gives us the option to check for overloaded UDP + TCP processing. The names of the new TCP states and the UDP metric can be discussed. The current reasons are just: I don't want to add another collector for the same exposed file, so I just added the new states to the tcpstat collector. I chose the name 'udp_queue' instead of 'udpstat' as UDP has no state. Signed-off-by: Peter Bueschel <peter.bueschel@logmein.com>
* Add changelog entry for #1647Ben Kochie2020-03-27
| | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* Metrics for IO errors on Mac. (#1636)Tom Wilkie2020-03-21
| | | | | | * Metrics for IO errors and retries on Mac. Signed-off-by: Tom Wilkie <tom@grafana.com>
* Add model_name and stepping to node_cpu_info metricBenjamin Drung2020-03-20
| | | | | | | | | The `node_cpu_info` metric contains some information like the `model` (which is an integer), but not the human readable model name. Also the stepping of the processor might be interesting, since different stepping of a processor might behave differently. Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
* Release 1.0.0-rc.0 (#1614)v1.0.0-rc.0Ben Kochie2020-02-20
| | | | | | | Update CHANGELOG/VERSION for 1.0.0-rc.0 release. * Add a note about new https settings to top-level README. * Mark --web.config flag as experimental. Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix num cpu (#1561)Daniel Hodges2020-02-20
| | | | | | | | | | | | | | | | | | | | * add a map of profilers to CPUids `runtime.NumCPU()` returns the number of CPUs that the process can run on. This number does not necessarily correlate to CPU ids if the affinity mask of the process is set. This change maintains the current behavior as default, but also allows the user to specify a range of CPUids to use instead. The CPU id is stored as the value of a map keyed on the profiler object's address. Signed-off-by: Joe Damato <jdamato@fastly.com> Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com> Signed-off-by: Daniel Hodges <hodges@uber.com> Co-authored-by: jdamato-fsly <55214354+jdamato-fsly@users.noreply.github.com>
* new flag to disable all default collectors (#1460)Paul Gier2020-02-20
| | | | | | | | * new flag to disable all default collectors Signed-off-by: Paul Gier <pgier@redhat.com> Co-authored-by: Ben Kochie <superq@gmail.com>
* Don't count empty collection as success (#1613)Ben Kochie2020-02-19
| | | | | | | | | | | | | | Many collectors depend on underlying features to be enabled. This causes confusion about what "success" means. This changes the behavior of the `node_scrape_collector_success` metric. * When a collector is unable to find data don't return success. * Catch the no data error and send to Debug log level to avoid log spam. * Update collectors to support this new functionality. * Fix copy-pasta mistake in infiband debug message. Closes: https://github.com/prometheus/node_exporter/issues/1323 Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix up Darwin swap metricsBen Kochie2020-02-19
| | | | | | | * Add a changelog entry. * Remove redundant swap free metric. Signed-off-by: Ben Kochie <superq@gmail.com>
* Add Btrfs collector (#1512)Silke Hofstra2020-02-19
| | | | | | | | * Add procfs/btrfs to vendor folder * Add Btrfs collector Resolves #1100 Signed-off-by: Silke Hofstra <silke@slxh.eu>
* rapl_linux collectorUkri Niemimuukko2020-02-01
| | | | | | | This exposes RAPL statistics from /sys/class/powercap. Co-Authored-By: Ben Kochie <superq@gmail.com> Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
* Add unix socket support for supervisord collector (#1592)Paul Cameron2020-01-28
| | | | | | | | | | | * Add unix socket support for supervisord collector For example: --collector.supervisord.url=unix:///var/run/supervisor.sock Fixes prometheus/node_exporter#262 Signed-off-by: Paul Cameron <cameronpm@gmail.com>
* Fixed inaccurate 'node_network_speed_bytes' when speeds are low (#1580)Thomas Lin2020-01-01
| | | | | | | | Integer division and the order of operations when converting Mbps to Bps results in a loss of accuracy if the interface speeds are set low. e.g. 100 Mbps is reported as 12000000 Bps, should be 12500000 10 Mbps is reported as 1000000 Bps, should be 1250000 Signed-off-by: Thomas Lin <t.lin@mail.utoronto.ca>
* Add softnet collector (#1576)Peter Nicholson2019-12-30
| | | Signed-off-by: Peter Nicholson <petergoods@hotmail.com>
* Update CHANGELOGBen Kochie2019-11-25
| | | | | | Add/update entries for recent merged PRs. Signed-off-by: Ben Kochie <superq@gmail.com>
* collector: reimplement sockstat collector with procfs (#1552)Matt Layher2019-11-25
| | | | | | | * collector: reimplement sockstat collector with procfs * collector: handle sockstat IPv4 disabled, debug logging Signed-off-by: Matt Layher <mdlayher@gmail.com>
* fix typo in cpufreq metric names (#1510)John Belmonte2019-10-11
| | | | Signed-off-by: John Belmonte <john@neggie.net>
* fix order of items in CHANGELOGPaul Gier2019-09-25
| | | | Signed-off-by: Paul Gier <pgier@redhat.com>
* add node_cpu_info metricPaul Gier2019-09-25
| | | | | | Contains information gathered from /proc/cpuinfo Signed-off-by: Paul Gier <pgier@redhat.com>
* Merge branch 'master' into coolingDeviceBen Kochie2019-09-09
|\
| * fix issue where rootfs path strips to the empty string (#1464)dt-rush2019-09-09
| | | | | | | | | | Change-type: patch Connects-to: #1463 Signed-off-by: dt-rush <nickp@balena.io>
| * systemd: check version for availability of properties (#1413)Paul Gier2019-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | The dbus property 'SystemState' and the timer property 'LastTriggerUSec' were added in version 212 of systemd. Check that the version of systemd is higher than 212 before attempting to query these properties https://github.com/systemd/systemd/commit/f755e3b74b94296a534033dd6ae04d9506434210 https://github.com/systemd/systemd/commit/dedabea4b3d61a87cedb5c8d7ccce5b86ea84afe Resolves issue #291 Signed-off-by: Paul Gier <pgier@redhat.com>
* | Scrape cooling_device stateAlex Schmitz2019-08-30
|/ | | | Signed-off-by: Alex Schmitz <alex.schmitz@gmail.com>
* Ipvs firewall mark (#1455)Boris Momčilović2019-08-27
| | | | | | * IPVS: include firewall mark label Signed-off-by: Boris Momčilović <boris@firstbeatmedia.com>
* Scrape thermal_zone temperatures (#1425)Richard Kojedzinszky2019-08-04
| | | | | | * Scrape thermal_zone temperatures Signed-off-by: Richard Kojedzinszky <richard@kojedz.in>
* Update CHANGELOG for #1433Ben Kochie2019-08-03
| | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* Added mountinfo changes to node_exporter (#1417)Dipack P Panjabi2019-07-28
| | | | | | | | | | Use the extra information gleaned from the mountinfo file to add a 'mountaddr' field for NFS metrics. This helps prevent prometheus from ignoring mounts that come from the same URL, but are actually from different IP addresses. This commit also rebases to current master Signed-off-by: Dipack P Panjabi <dpanjabi@hudson-trading.com>
* Add changelog entry for #1439Ben Kochie2019-07-28
| | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* properly strip path.rootfs from mountpoint labels (#1421)dt-rush2019-07-19
| | | | | Change-type: patch Connects-to: #1418 Signed-off-by: dt-rush <nickp@balena.io>
* Expose additional XFS runtime statistics (#1423)Steven Kreuzer2019-07-15
| | | | | | Include directory operation, read/write system call, and vnode runtime statistics for XFS filesystems. Signed-off-by: Steven Kreuzer <skreuzer@FreeBSD.org>
* Add changelog entry for #1414Ben Kochie2019-07-12
| | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* Scrape CPU latency stats from /proc/schedstat (#1389)Phil Frost2019-07-10
| | | | | | | | | | | | | These are useful as a direct indication of CPU contention and task scheduler latency. Handy references: - https://github.com/torvalds/linux/blob/master/Documentation/scheduler/sched-stats.txt - https://doc.opensuse.org/documentation/leap/tuning/html/book.sle.tuning/cha.tuning.taskscheduler.html procfs is updated to pull in the enabling change: https://github.com/prometheus/procfs/pull/186 Signed-off-by: Phil Frost <phil@postmates.com>
* Closes issue #261 on node_exporter. (#1403)Advait Bhatwadekar2019-07-01
| | | | | | | | | | | * Closes issue #261 on node_exporter. Delegated mdstat parsing to procfs project. mdadm_linux.go now only exports the metrics. -> Added disk labels: "fail", "spare", "active" to indicate disk status -> hanged metric node_md_disks_total ==> node_md_disks_required -> Removed test cases for mdadm_linux.go, as the functionality they tested for has been moved to procfs project. Signed-off-by: Advait Bhatwadekar <advait123@ymail.com>
* Fix systemd restart counter label from state to name (#1393)mknapphrt2019-06-25
| | | Signed-off-by: Mark Knapp <mknapp@hudson-trading.com>
* Bugfix release 0.18.1 (#1366)Ben Kochie2019-06-04
| | | | | Cherry-pick two bug fixes into 0.18.1. Signed-off-by: Ben Kochie <superq@gmail.com>
* Add changelog entry for #1364Ben Kochie2019-06-03
| | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* Fixup 0.17.0 changelog (#1354)Ben Kochie2019-06-02
| | | | | | * Fix ordering of CHANGE items by PR number. * Add missing CHANGE for #1003 Signed-off-by: Ben Kochie <superq@gmail.com>
* Add --collector.netdev.device-whitelist flag (#1279)Noam Meltzer2019-05-31
| | | | | | | | | | | | * Add --collector.netdev.device-whitelist flag Sometimes it is desired to monitor only one netdev. The golang regexp does not support a negated regex, so the ignored-devices flag is too cumbersome for this task. This change introduces a new flag: accept-devices, which is mutually exclusive to ignored-devices. This flag allows specifying ONLY the netdev you'd like. Signed-off-by: Noam Meltzer <noam@cynerio.co>
* meminfo: Fix the size mismatch in the swapTotal check mib for BSD. (#1345)David O'Rourke2019-05-14
| | | Signed-off-by: David O'Rourke <david.orourke@gmail.com>