Update prometheus/procfs
Fixes: https://github.com/prometheus/node_exporter/issues/1721 Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
2cefe3d769
commit
baa7ab732f
51 changed files with 2699 additions and 292 deletions
20
vendor/github.com/prometheus/procfs/bcache/bcache.go
generated
vendored
20
vendor/github.com/prometheus/procfs/bcache/bcache.go
generated
vendored
|
|
@ -43,10 +43,11 @@ type BcacheStats struct { // nolint:golint
|
|||
|
||||
// BdevStats contains statistics for one backing device.
|
||||
type BdevStats struct {
|
||||
Name string
|
||||
DirtyData uint64
|
||||
FiveMin PeriodStats
|
||||
Total PeriodStats
|
||||
Name string
|
||||
DirtyData uint64
|
||||
FiveMin PeriodStats
|
||||
Total PeriodStats
|
||||
WritebackRateDebug WritebackRateDebugStats
|
||||
}
|
||||
|
||||
// CacheStats contains statistics for one cache device.
|
||||
|
|
@ -82,3 +83,14 @@ type PeriodStats struct {
|
|||
CacheMisses uint64
|
||||
CacheReadaheads uint64
|
||||
}
|
||||
|
||||
// WritebackRateDebugStats contains bcache writeback statistics.
|
||||
type WritebackRateDebugStats struct {
|
||||
Rate uint64
|
||||
Dirty uint64
|
||||
Target uint64
|
||||
Proportional int64
|
||||
Integral int64
|
||||
Change int64
|
||||
NextIO int64
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue