Skip to content

Commit 0224b52

Browse files
authored
Update Go module dependencies (#20)
* Update Go module dependencies * Update Prometheus orb
1 parent 8639779 commit 0224b52

File tree

7 files changed

+305
-245
lines changed

7 files changed

+305
-245
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: 2.1
33

44
orbs:
5-
prometheus: prometheus/prometheus@0.15.0
5+
prometheus: prometheus/prometheus@0.16.0
66
codecov: codecov/[email protected]
77

88
executors:

.golangci.errcheck-exclude

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Used in HTTP handlers, any error is handled by the server itself.
22
(net/http.ResponseWriter).Write
33
// Never check for logger errors.
4-
(github.com/go-kit/kit/log.Logger).Log
4+
(github.com/go-kit/log.Logger).Log

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Needs to be defined before including Makefile.common to auto-generate targets
22
DOCKER_ARCHS ?= amd64 arm64 ppc64le
33
DOCKER_REPO ?= treydock
4+
GOLANGCI_LINT_VERSION ?= v1.44.2
45

56
include Makefile.common
67

cgroup_exporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626
"sync"
2727

2828
"github.com/containerd/cgroups"
29-
"github.com/go-kit/kit/log"
30-
"github.com/go-kit/kit/log/level"
29+
"github.com/go-kit/log"
30+
"github.com/go-kit/log/level"
3131
"github.com/prometheus/client_golang/prometheus"
3232
"github.com/prometheus/client_golang/prometheus/promhttp"
3333
"github.com/prometheus/common/promlog"

cgroup_exporter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"testing"
2626
"time"
2727

28-
"github.com/go-kit/kit/log"
28+
"github.com/go-kit/log"
2929
kingpin "gopkg.in/alecthomas/kingpin.v2"
3030
)
3131

go.mod

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ module github.com/treydock/cgroup_exporter
33
go 1.17
44

55
require (
6-
github.com/containerd/cgroups v1.0.1
7-
github.com/go-kit/kit v0.10.0
8-
github.com/prometheus/client_golang v1.10.0
9-
github.com/prometheus/common v0.21.0
10-
github.com/prometheus/procfs v0.6.0
6+
github.com/containerd/cgroups v1.0.3
7+
github.com/go-kit/log v0.2.0
8+
github.com/prometheus/client_golang v1.12.1
9+
github.com/prometheus/common v0.32.1
10+
github.com/prometheus/procfs v0.7.3
1111
gopkg.in/alecthomas/kingpin.v2 v2.2.6
1212
)
1313

1414
require (
1515
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
16-
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
16+
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
1717
github.com/beorn7/perks v1.0.1 // indirect
18-
github.com/cespare/xxhash/v2 v2.1.1 // indirect
19-
github.com/coreos/go-systemd/v22 v22.3.1 // indirect
18+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
19+
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
2020
github.com/docker/go-units v0.4.0 // indirect
21-
github.com/go-logfmt/logfmt v0.5.0 // indirect
22-
github.com/godbus/dbus/v5 v5.0.4 // indirect
21+
github.com/go-logfmt/logfmt v0.5.1 // indirect
22+
github.com/godbus/dbus/v5 v5.1.0 // indirect
2323
github.com/gogo/protobuf v1.3.2 // indirect
2424
github.com/golang/protobuf v1.5.2 // indirect
2525
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
2626
github.com/opencontainers/runtime-spec v1.0.2 // indirect
2727
github.com/pkg/errors v0.9.1 // indirect
2828
github.com/prometheus/client_model v0.2.0 // indirect
29-
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
30-
google.golang.org/protobuf v1.26.0 // indirect
29+
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
30+
google.golang.org/protobuf v1.27.1 // indirect
3131
)

go.sum

Lines changed: 287 additions & 228 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)