vendor: upgrade Prometheus dependencies
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
2
cmd/vendor/github.com/prometheus/procfs/xfs/parse.go
generated
vendored
2
cmd/vendor/github.com/prometheus/procfs/xfs/parse.go
generated
vendored
@ -17,7 +17,6 @@ import (
|
||||
"bufio"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
@ -273,7 +272,6 @@ func vnodeStats(us []uint32) (VnodeStats, error) {
|
||||
// stats versions. Therefore, 7 or 8 elements may appear in
|
||||
// this slice.
|
||||
l := len(us)
|
||||
log.Println(l)
|
||||
if l != 7 && l != 8 {
|
||||
return VnodeStats{}, fmt.Errorf("incorrect number of values for XFS vnode stats: %d", l)
|
||||
}
|
||||
|
5
cmd/vendor/github.com/prometheus/procfs/xfs/xfs.go
generated
vendored
5
cmd/vendor/github.com/prometheus/procfs/xfs/xfs.go
generated
vendored
@ -22,6 +22,11 @@ package xfs
|
||||
// kernel source. Most counters are uint32s (same data types used in
|
||||
// xfs_stats.h), but some of the "extended precision stats" are uint64s.
|
||||
type Stats struct {
|
||||
// The name of the filesystem used to source these statistics.
|
||||
// If empty, this indicates aggregated statistics for all XFS
|
||||
// filesystems on the host.
|
||||
Name string
|
||||
|
||||
ExtentAllocation ExtentAllocationStats
|
||||
AllocationBTree BTreeStats
|
||||
BlockMapping BlockMappingStats
|
||||
|
Reference in New Issue
Block a user