Skip to content

Commit 4e837d4

Browse files
authored
Merge pull request #1969 from prometheus/superq/release_1.1.1
Release 1.1.1
2 parents 0e74fbc + cdd9357 commit 4e837d4

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
* [ENHANCEMENT]
66
* [BUGFIX]
77

8+
## 1.1.1 / 2021-02-12
9+
10+
* [BUGFIX] Fix ineffassign issue #1957
11+
* [BUGFIX] Fix some noisy log lines #1962
12+
813
## 1.1.0 / 2021-02-05
914

1015
NOTE: We have improved some of the flag naming conventions (PR #1743). The old names are

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.1.1

collector/zfs_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (c *zfsCollector) updatePoolStats(ch chan<- prometheus.Metric) error {
122122
}
123123

124124
if zpoolStatePaths == nil {
125-
level.Warn(c.logger).Log("msg", "Not found pool state files")
125+
level.Debug(c.logger).Log("msg", "Not found pool state files")
126126
}
127127

128128
for _, zpoolPath := range zpoolStatePaths {

collector/zfs_solaris.go

+3
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ func (c *zfsCollector) updateZfsFetchStats(ch chan<- prometheus.Metric) error {
299299
defer tok.Close()
300300

301301
ksZFSInfo, err := tok.Lookup("zfs", 0, "zfetchstats")
302+
if err != nil {
303+
return err
304+
}
302305

303306
for k, v := range map[string]*prometheus.Desc{
304307
"hits": c.zfetchstatsHits,

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/prometheus/client_model v0.2.0
1717
github.com/prometheus/common v0.15.0
1818
github.com/prometheus/exporter-toolkit v0.5.1
19-
github.com/prometheus/procfs v0.3.0
19+
github.com/prometheus/procfs v0.6.0
2020
github.com/siebenmann/go-kstat v0.0.0-20200303194639-4e8294f9e9d5
2121
github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a
2222
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c

go.sum

+4-2
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ github.com/prometheus/procfs v0.1.3 h1:F0+tqvhOksq22sc6iCHF5WGlWjdwj92p0udFh1VFB
314314
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
315315
github.com/prometheus/procfs v0.2.0 h1:wH4vA7pcjKuZzjF7lM8awk4fnuJO6idemZXoKnULUx4=
316316
github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
317-
github.com/prometheus/procfs v0.3.0 h1:Uehi/mxLK0eiUc0H0++5tpMGTexB8wZ598MIgU8VpDM=
318-
github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
317+
github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4=
318+
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
319319
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
320320
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
321321
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
@@ -434,6 +434,8 @@ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJ
434434
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
435435
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
436436
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
437+
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs=
438+
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
437439
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
438440
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
439441
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=

0 commit comments

Comments
 (0)