Skip to content

Commit 9e8c970

Browse files
committed
Bump up go and pkg version
1 parent 891ca1b commit 9e8c970

File tree

3 files changed

+458
-43
lines changed

3 files changed

+458
-43
lines changed

collector/collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ func detectOpenFileLimit() (int64, error) {
104104
if err != nil {
105105
return 0, err
106106
}
107-
return limits.OpenFiles, nil
107+
return int64(limits.OpenFiles), nil
108108
}

go.mod

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
module github.com/k1LoW/grouped_process_exporter
22

3-
go 1.13
3+
go 1.15
44

55
require (
6-
github.com/prometheus/client_golang v1.2.1
7-
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
8-
github.com/prometheus/common v0.7.0
9-
github.com/prometheus/procfs v0.0.8
10-
github.com/sirupsen/logrus v1.4.2
11-
github.com/spf13/cobra v0.0.5
12-
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
6+
github.com/alecthomas/units v0.0.0-20201120081800-1786d5ef83d4 // indirect
7+
github.com/prometheus/client_golang v1.9.0
8+
github.com/prometheus/client_model v0.2.0
9+
github.com/prometheus/common v0.15.0
10+
github.com/prometheus/procfs v0.3.0
11+
github.com/sirupsen/logrus v1.7.0
12+
github.com/spf13/cobra v1.1.1
13+
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
14+
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c // indirect
15+
google.golang.org/protobuf v1.25.0 // indirect
1316
)

0 commit comments

Comments
 (0)