Skip to content

Commit b1e25ed

Browse files
committed
Update prometheus/procfs
Update prometheus/procfs Fixes: #1719 Fixes: #1721 Signed-off-by: Ben Kochie <[email protected]>
1 parent 594f417 commit b1e25ed

30 files changed

+2303
-56
lines changed

collector/fixtures/sys.ttar

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,17 @@ Lines: 1
17561756
0
17571757
Mode: 644
17581758
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1759+
Path: sys/devices/pci0000:00/0000:00:0d.0/ata4/host3/target3:0:0/3:0:0:0/block/sdb/bcache/writeback_rate_debug
1760+
Lines: 7
1761+
rate: 1.1M/sec
1762+
dirty: 20.4G
1763+
target: 20.4G
1764+
proportional: 427.5k
1765+
integral: 790.0k
1766+
change: 321.5k/sec
1767+
next io: 17ms
1768+
Mode: 644
1769+
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
17591770
Directory: sys/devices/pci0000:00/0000:00:0d.0/ata5
17601771
Mode: 755
17611772
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/prometheus/client_golang v1.6.0
2121
github.com/prometheus/client_model v0.2.0
2222
github.com/prometheus/common v0.10.0
23-
github.com/prometheus/procfs v0.0.11
23+
github.com/prometheus/procfs v0.1.0
2424
github.com/siebenmann/go-kstat v0.0.0-20200303194639-4e8294f9e9d5
2525
github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a
2626
go.uber.org/multierr v1.5.0 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
289289
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
290290
github.com/prometheus/procfs v0.0.11 h1:DhHlBtkHWPYi8O2y31JkK0TF+DGM+51OopZjH/Ia5qI=
291291
github.com/prometheus/procfs v0.0.11/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
292+
github.com/prometheus/procfs v0.1.0 h1:jhMy6QXfi3y2HEzFoyuCj40z4OZIIHHPtFyCMftmvKA=
293+
github.com/prometheus/procfs v0.1.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
292294
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
293295
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
294296
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=

vendor/github.com/prometheus/procfs/Makefile.common

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/prometheus/procfs/bcache/bcache.go

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/prometheus/procfs/bcache/get.go

Lines changed: 109 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)