Skip to content

Commit 1cb6a3f

Browse files
SuperQoblitorum
authored andcommitted
Release 1.1.0
* Update Build - Update CircleCI orb. - Update CIrcleCI Machine image. - Use golang-builder 1.15. * Update Go modules. * Fixup fixtures for XFS bug. NOTE: We have improved some of the flag naming conventions (PR prometheus#1743). The old names are deprecated and will be removed in 2.0. They will continue to work for backwards compatibility. * [CHANGE] Improve filter flag names prometheus#1743 * [CHANGE] Add btrfs and powersupplyclass to list of exporters enabled by default prometheus#1897 * [FEATURE] Add fibre channel collector prometheus#1786 * [FEATURE] Expose cpu bugs and flags as info metrics. prometheus#1788 * [FEATURE] Add network_route collector prometheus#1811 * [FEATURE] Add zoneinfo collector prometheus#1922 * [ENHANCEMENT] Add more InfiniBand counters prometheus#1694 * [ENHANCEMENT] Add flag to aggr ipvs metrics to avoid high cardinality metrics prometheus#1709 * [ENHANCEMENT] Adding backlog/current queue length to qdisc collector prometheus#1732 * [ENHANCEMENT] Include TCP OutRsts in netstat metrics prometheus#1733 * [ENHANCEMENT] Add pool size to entropy collector prometheus#1753 * [ENHANCEMENT] Remove CGO dependencies for OpenBSD amd64 prometheus#1774 * [ENHANCEMENT] bcache: add writeback_rate_debug stats prometheus#1658 * [ENHANCEMENT] Add check state for mdadm arrays via node_md_state metric prometheus#1810 * [ENHANCEMENT] Expose XFS inode statistics prometheus#1870 * [ENHANCEMENT] Expose zfs zpool state prometheus#1878 * [ENHANCEMENT] Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable prometheus#1947 * [BUGFIX] filesystem_freebsd: Fix label values prometheus#1728 * [BUGFIX] Fix various procfs parsing errors prometheus#1735 * [BUGFIX] Handle no data from powersupplyclass prometheus#1747 * [BUGFIX] udp_queues_linux.go: change upd to udp in two error strings prometheus#1769 * [BUGFIX] Fix node_scrape_collector_success behaviour prometheus#1816 * [BUGFIX] Fix NodeRAIDDegraded to not use a string rule expressions prometheus#1827 * [BUGFIX] Fix node_md_disks state label from fail to failed prometheus#1862 * [BUGFIX] Handle EPERM for syscall in timex collector prometheus#1938 * [BUGFIX] bcache: fix typo in a metric name prometheus#1943 * [BUGFIX] Fix XFS read/write stats (prometheus/procfs#343) Signed-off-by: Ben Kochie <superq@gmail.com>
1 parent 40a227a commit 1cb6a3f

7 files changed

Lines changed: 86 additions & 55 deletions

File tree

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: 2.1
33

44
orbs:
5-
prometheus: prometheus/prometheus@0.4.0
5+
prometheus: prometheus/prometheus@0.8.0
66

77
executors:
88
# Whenever the Go version is updated here, .promu.yml and .promu-cgo.yml
@@ -53,10 +53,10 @@ jobs:
5353

5454
build:
5555
machine:
56-
image: ubuntu-1604:201903-01
56+
image: ubuntu-2004:202101-01
5757

5858
environment:
59-
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.14-base
59+
DOCKER_TEST_IMAGE_NAME: quay.io/prometheus/golang-builder:1.15-base
6060
REPO_PATH: github.com/prometheus/node_exporter
6161

6262
steps:

CHANGELOG.md

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,44 @@
11
## master / unreleased
22

3-
* [CHANGE] Improve filter flag names.
43
* [CHANGE]
54
* [FEATURE]
6-
* [ENHANCEMENT] Include TCP OutRsts in netstat metrics
7-
* [ENHANCEMENT] Added XFS inode operations to XFS metrics
8-
* [ENHANCEMENT] Remove CGO dependencies for OpenBSD amd64
9-
* [ENHANCEMENT] Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable
10-
* [BUGFIX] Handle EPERM for syscall in timex collector
5+
* [ENHANCEMENT]
116
* [BUGFIX]
127

8+
## 1.1.0 / 2021-02-05
9+
10+
NOTE: We have improved some of the flag naming conventions (PR #1743). The old names are
11+
deprecated and will be removed in 2.0. They will continue to work for backwards
12+
compatibility.
13+
14+
* [CHANGE] Improve filter flag names #1743
15+
* [CHANGE] Add btrfs and powersupplyclass to list of exporters enabled by default #1897
16+
* [FEATURE] Add fibre channel collector #1786
17+
* [FEATURE] Expose cpu bugs and flags as info metrics. #1788
18+
* [FEATURE] Add network_route collector #1811
19+
* [FEATURE] Add zoneinfo collector #1922
20+
* [ENHANCEMENT] Add more InfiniBand counters #1694
21+
* [ENHANCEMENT] Add flag to aggr ipvs metrics to avoid high cardinality metrics #1709
22+
* [ENHANCEMENT] Adding backlog/current queue length to qdisc collector #1732
23+
* [ENHANCEMENT] Include TCP OutRsts in netstat metrics #1733
24+
* [ENHANCEMENT] Add pool size to entropy collector #1753
25+
* [ENHANCEMENT] Remove CGO dependencies for OpenBSD amd64 #1774
26+
* [ENHANCEMENT] bcache: add writeback_rate_debug stats #1658
27+
* [ENHANCEMENT] Add check state for mdadm arrays via node_md_state metric #1810
28+
* [ENHANCEMENT] Expose XFS inode statistics #1870
29+
* [ENHANCEMENT] Expose zfs zpool state #1878
30+
* [ENHANCEMENT] Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable #1947
31+
* [BUGFIX] filesystem_freebsd: Fix label values #1728
32+
* [BUGFIX] Fix various procfs parsing errors #1735
33+
* [BUGFIX] Handle no data from powersupplyclass #1747
34+
* [BUGFIX] udp_queues_linux.go: change upd to udp in two error strings #1769
35+
* [BUGFIX] Fix node_scrape_collector_success behaviour #1816
36+
* [BUGFIX] Fix NodeRAIDDegraded to not use a string rule expressions #1827
37+
* [BUGFIX] Fix node_md_disks state label from fail to failed #1862
38+
* [BUGFIX] Handle EPERM for syscall in timex collector #1938
39+
* [BUGFIX] bcache: fix typo in a metric name #1943
40+
* [BUGFIX] Fix XFS read/write stats (https://github.com/prometheus/procfs/pull/343)
41+
1342
## 1.0.1 / 2020-06-15
1443

1544
* [BUGFIX] filesystem_freebsd: Fix label values #1728

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,18 @@ ksmd | Exposes kernel and system statistics from `/sys/kernel/mm/ksm`. | Linux
196196
logind | Exposes session counts from [logind](http://www.freedesktop.org/wiki/Software/systemd/logind/). | Linux
197197
meminfo\_numa | Exposes memory statistics from `/proc/meminfo_numa`. | Linux
198198
mountstats | Exposes filesystem statistics from `/proc/self/mountstats`. Exposes detailed NFS client statistics. | Linux
199+
network_route | Exposes the routing table as metrics | Linux
199200
ntp | Exposes local NTP daemon health to check [time](./docs/TIME.md) | _any_
201+
perf | Exposes perf based metrics (Warning: Metrics are dependent on kernel configuration and settings). | Linux
200202
processes | Exposes aggregate process statistics from `/proc`. | Linux
201203
qdisc | Exposes [queuing discipline](https://en.wikipedia.org/wiki/Network_scheduler#Linux_kernel) statistics | Linux
202204
runit | Exposes service status from [runit](http://smarden.org/runit/). | _any_
203205
supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_
204206
systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux
205207
tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. (Warning: the current version has potential performance issues in high load situations.) | Linux
206208
wifi | Exposes WiFi device and station statistics. | Linux
207-
perf | Exposes perf based metrics (Warning: Metrics are dependent on kernel configuration and settings). | Linux
209+
zoneinfo | Exposes NUMA memory zone metrics. | Linux
210+
208211

209212
### Textfile Collector
210213

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.1.0

collector/fixtures/e2e-output.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3280,7 +3280,7 @@ node_xfs_inode_operation_reclaims_total{device="sda1"} 0
32803280
node_xfs_inode_operation_recycled_total{device="sda1"} 0
32813281
# HELP node_xfs_read_calls_total Number of read(2) system calls made to files in a filesystem.
32823282
# TYPE node_xfs_read_calls_total counter
3283-
node_xfs_read_calls_total{device="sda1"} 28
3283+
node_xfs_read_calls_total{device="sda1"} 0
32843284
# HELP node_xfs_vnode_active_total Number of vnodes not on free lists for a filesystem.
32853285
# TYPE node_xfs_vnode_active_total counter
32863286
node_xfs_vnode_active_total{device="sda1"} 4
@@ -3304,7 +3304,7 @@ node_xfs_vnode_release_total{device="sda1"} 1
33043304
node_xfs_vnode_remove_total{device="sda1"} 1
33053305
# HELP node_xfs_write_calls_total Number of write(2) system calls made to files in a filesystem.
33063306
# TYPE node_xfs_write_calls_total counter
3307-
node_xfs_write_calls_total{device="sda1"} 0
3307+
node_xfs_write_calls_total{device="sda1"} 28
33083308
# HELP node_zfs_abd_linear_cnt kstat.zfs.misc.abdstats.linear_cnt
33093309
# TYPE node_zfs_abd_linear_cnt untyped
33103310
node_zfs_abd_linear_cnt 62

go.mod

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,20 @@ require (
88
github.com/ema/qdisc v0.0.0-20200603082823-62d0308e3e00
99
github.com/go-kit/kit v0.10.0
1010
github.com/godbus/dbus v0.0.0-20190402143921-271e53dc4968
11-
github.com/hodgesds/perf-utils v0.0.8
12-
github.com/jsimonetti/rtnetlink v0.0.0-20201125080424-8bebea019a6c
11+
github.com/hodgesds/perf-utils v0.2.5
12+
github.com/jsimonetti/rtnetlink v0.0.0-20210122163228-8d122574c736
1313
github.com/lufia/iostat v1.1.0
1414
github.com/mattn/go-xmlrpc v0.0.3
1515
github.com/mdlayher/genetlink v1.0.0 // indirect
1616
github.com/mdlayher/wifi v0.0.0-20200527114002-84f0b9457fdd
17-
github.com/prometheus/client_golang v1.7.1
17+
github.com/prometheus/client_golang v1.9.0
1818
github.com/prometheus/client_model v0.2.0
1919
github.com/prometheus/common v0.15.0
20-
github.com/prometheus/exporter-toolkit v0.5.0
21-
github.com/prometheus/procfs v0.2.0
20+
github.com/prometheus/exporter-toolkit v0.5.1
21+
github.com/prometheus/procfs v0.3.0
2222
github.com/siebenmann/go-kstat v0.0.0-20200303194639-4e8294f9e9d5
2323
github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a
24-
go.uber.org/multierr v1.5.0 // indirect
25-
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
26-
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb // indirect
27-
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a // indirect
28-
golang.org/x/sys v0.0.0-20201202213521-69691e467435
29-
golang.org/x/tools v0.0.0-20200513201620-d5fe73897c97 // indirect
24+
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
3025
gopkg.in/alecthomas/kingpin.v2 v2.2.6
3126
github.com/prometheus/promu v0.2.0
32-
gopkg.in/yaml.v2 v2.3.0
33-
honnef.co/go/tools v0.0.1-2020.1.3 // indirect
3427
)

0 commit comments

Comments
 (0)