Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e0f0f46

Browse files
authoredJun 20, 2024··
fix(deps): update module github.com/shirou/gopsutil/v3 to v4
1 parent 9d47350 commit e0f0f46

File tree

3 files changed

+53
-519
lines changed

3 files changed

+53
-519
lines changed
 

‎go.mod

+5-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
github.com/pkg/sftp v1.13.6
2424
github.com/prometheus/client_model v0.4.0
2525
github.com/prometheus/common v0.43.0
26-
github.com/shirou/gopsutil/v3 v3.24.5
26+
github.com/shirou/gopsutil/v4 v4.24.5
2727
github.com/sijms/go-ora/v2 v2.8.19
2828
github.com/sirupsen/logrus v1.9.3
2929
github.com/spf13/afero v1.11.0
@@ -45,10 +45,10 @@ require (
4545
github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 // indirect
4646
github.com/bitly/go-simplejson v0.5.0 // indirect
4747
github.com/cloudflare/circl v1.3.7 // indirect
48+
github.com/containerd/log v0.1.0 // indirect
4849
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
4950
github.com/davecgh/go-spew v1.1.1 // indirect
5051
github.com/distribution/reference v0.6.0 // indirect
51-
github.com/docker/distribution v2.8.2+incompatible // indirect
5252
github.com/docker/go-connections v0.4.0 // indirect
5353
github.com/docker/go-units v0.5.0 // indirect
5454
github.com/elastic/go-sysinfo v1.10.1 // indirect
@@ -94,14 +94,16 @@ require (
9494
github.com/yusufpapurcu/wmi v1.2.4 // indirect
9595
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
9696
go.opentelemetry.io/otel v1.27.0 // indirect
97+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
9798
go.opentelemetry.io/otel/metric v1.27.0 // indirect
99+
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
98100
go.opentelemetry.io/otel/trace v1.27.0 // indirect
99101
golang.org/x/exp v0.0.0-20220713135740-79cabaa25d75 // indirect
100102
golang.org/x/mod v0.12.0 // indirect
101103
golang.org/x/sys v0.20.0 // indirect
102104
golang.org/x/text v0.15.0 // indirect
103105
golang.org/x/tools v0.13.0 // indirect
104-
google.golang.org/protobuf v1.31.0 // indirect
106+
google.golang.org/protobuf v1.34.1 // indirect
105107
gopkg.in/warnings.v0 v0.1.2 // indirect
106108
gopkg.in/yaml.v3 v3.0.1 // indirect
107109
howett.net/plist v1.0.0 // indirect

‎go.sum

+46-514
Large diffs are not rendered by default.

‎internal/discovery/processes.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"strings"
1111

1212
"github.com/newrelic/nri-flex/internal/load"
13-
"github.com/shirou/gopsutil/v3/net"
14-
"github.com/shirou/gopsutil/v3/process"
13+
"github.com/shirou/gopsutil/v4/net"
14+
"github.com/shirou/gopsutil/v4/process"
1515
"github.com/sirupsen/logrus"
1616
)
1717

0 commit comments

Comments
 (0)
Please sign in to comment.