Commit graph

21 commits

Author SHA1 Message Date
Ben Kochie 11a0aaaa0a
Release 1.0.0
* 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 "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. 
* 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`.

* [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 

Signed-off-by: Ben Kochie <superq@gmail.com>
2020-05-25 14:03:04 +02:00
PrometheusBot eb19c5c20b makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-09-13 12:55:06 +02:00
PrometheusBot d3478a207e makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-08-30 13:32:17 +02:00
PrometheusBot 2f2392af3f makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-08-03 12:15:24 +02:00
PrometheusBot 7e684f16ae makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-26 06:56:06 +02:00
PrometheusBot 76a37a6816 makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-24 13:01:45 +02:00
PrometheusBot e57f05aace makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-23 08:37:40 +02:00
PrometheusBot b556592217 makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-06-07 08:35:51 +02:00
PrometheusBot 2a9939fcf3 Synchronize Makefile.common from prometheus/prometheus ()
* makefile: update Makefile.common with newer version

Signed-off-by: prombot <prometheus-team@googlegroups.com>

* Remove obsolete release tool.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-05-14 20:27:02 -05:00
PrometheusBot 0c6b90be4e makefile: update Makefile.common with newer version ()
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-05-07 06:38:46 +02:00
PrometheusBot b5cab091dc Synchronize Makefile.common from prometheus/prometheus ()
* makefile: update Makefile.common with newer version

Signed-off-by: prombot <prometheus-team@googlegroups.com>

* Add .golangci.yml

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-04-25 10:53:48 +02:00
Johannes Würbach 4e5c4d464f Docker images for ARM32v7, ARM64v8 and ppc64le ()
Build and publish ARM32v7, ARM64v8 and ppc64le docker images.

Signed-off-by: Johannes Würbach <johannes.wuerbach@googlemail.com>
2019-04-15 17:36:25 +02:00
Simon Pasquier dbe7badc7c Update Makefile.common ()
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-03-25 12:47:57 +01:00
Paul Gier 8ca1e5594b upgrade promu to v0.3.0 ()
Signed-off-by: Paul Gier <pgier@redhat.com>
2019-02-27 20:30:09 +01:00
Ben Kochie dc4c58671d
Update vendoring. ()
* Update vendoring.

Update vendoring to latest upstream.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-02-13 14:12:12 +01:00
Ben Kochie 070e4b2e17 Update Makefile.common ()
* Update Makefile.common

Update to new staticcheck method[0].

[0]: https://github.com/prometheus/prometheus/pull/5057

Signed-off-by: Ben Kochie <superq@gmail.com>

* Fix staticcheck errors.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-01-04 15:58:53 +00:00
Paul Gier 03bb276deb Makefile.common: fix promu download path for arm32 ()
Signed-off-by: Paul Gier <pgier@redhat.com>
2018-12-13 16:07:22 +01:00
Paul Gier 614b815e00 Makefile.common: fix format rule ()
Signed-off-by: Paul Gier <pgier@redhat.com>
2018-12-11 17:47:09 +01:00
Ben Kochie becca1275c
Convert to Go modules ()
* Convert to Go modules

* Update promu config.
* Convert to Go modules.
* Update vendoring.
* Update Makefile.common.
* Update circleci config.
* Use Prometheus release tar for promtool.
* Fixup unpack

* Use temp dir for unpacking tools.
* Use BSD compatible tar command.
* OpenBSD mkdir doesn't support `-v`.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-11-30 14:01:20 +01:00
Ben Kochie 981de58fad
Update build ()
* Update from upstream `Makefile.common`.
* Update CircleCI with simplifed upstream templating.
* Cleanup `Makefile`.

Signed-off-by: Ben Kochie <superq@gmail.com>
2018-07-23 09:38:39 +02:00
Ivan Voronchihin 606568314b Add Makefile.common ()
* Add Makefile.common

Signed-off-by: bege13mot <bege13mot@gmail.com>

* Change Makefile.common to initial Prometheus common

Signed-off-by: bege13mot <bege13mot@gmail.com>

* fix checkmetrics

Signed-off-by: bege13mot <bege13mot@gmail.com>

* fix promu

Signed-off-by: bege13mot <bege13mot@gmail.com>

* Add test to common

Signed-off-by: bege13mot <bege13mot@gmail.com>

* Fix GOPATH

Signed-off-by: bege13mot <bege13mot@gmail.com>

* Initial Makefile.common

Signed-off-by: bege13mot <bege13mot@gmail.com>

* original Makefile.common

Signed-off-by: bege13mot <bege13mot@gmail.com>

* delete promu

Signed-off-by: bege13mot <bege13mot@gmail.com>

* delete redundant .PRONY params

Signed-off-by: bege13mot <bege13mot@gmail.com>
2018-05-24 23:31:48 +02:00