File tree Expand file tree Collapse file tree 7 files changed +23
-113
lines changed Expand file tree Collapse file tree 7 files changed +23
-113
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ require (
34
34
go.uber.org/ratelimit v0.3.1
35
35
golang.org/x/crypto v0.37.0
36
36
golang.org/x/net v0.39.0
37
- gopkg.in/yaml.v2 v2.4.0
37
+ gopkg.in/yaml.v3 v3.0.1
38
38
gotest.tools v2.2.0+incompatible
39
39
)
40
40
@@ -99,15 +99,12 @@ require (
99
99
go.opentelemetry.io/otel v1.34.0 // indirect
100
100
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect
101
101
go.opentelemetry.io/otel/metric v1.34.0 // indirect
102
+ go.opentelemetry.io/otel/sdk v1.28.0 // indirect
102
103
go.opentelemetry.io/otel/trace v1.34.0 // indirect
103
104
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
104
- golang.org/x/mod v0.19.0 // indirect
105
- golang.org/x/sync v0.13.0 // indirect
106
105
golang.org/x/sys v0.32.0 // indirect
107
106
golang.org/x/text v0.24.0 // indirect
108
- golang.org/x/tools v0.23.0 // indirect
109
107
google.golang.org/protobuf v1.36.5 // indirect
110
108
gopkg.in/warnings.v0 v0.1.2 // indirect
111
- gopkg.in/yaml.v3 v3.0.1 // indirect
112
109
howett.net/plist v1.0.0 // indirect
113
110
)
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
"github.com/sirupsen/logrus"
23
23
24
24
"go.uber.org/ratelimit"
25
- "gopkg.in/yaml.v2 "
25
+ "gopkg.in/yaml.v3 "
26
26
)
27
27
28
28
var (
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
"github.com/newrelic/nri-flex/internal/inputs"
14
14
"github.com/newrelic/nri-flex/internal/load"
15
15
"github.com/sirupsen/logrus"
16
- yaml "gopkg.in/yaml.v2 "
16
+ yaml "gopkg.in/yaml.v3 "
17
17
)
18
18
19
19
var lookupsRegex = regexp .MustCompile (`\${lookup\.([^:]+):([^}]+)}` )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
21
21
"github.com/aws/aws-sdk-go/aws/session"
22
22
"github.com/aws/aws-sdk-go/service/kms"
23
23
"github.com/sirupsen/logrus"
24
- "gopkg.in/yaml.v2 "
24
+ "gopkg.in/yaml.v3 "
25
25
26
26
"github.com/newrelic/nri-flex/internal/load"
27
27
"github.com/newrelic/nri-flex/internal/utils"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"github.com/newrelic/nri-flex/internal/formatter"
19
19
"github.com/newrelic/nri-flex/internal/load"
20
20
"github.com/sirupsen/logrus"
21
- yaml "gopkg.in/yaml.v2 "
21
+ yaml "gopkg.in/yaml.v3 "
22
22
)
23
23
24
24
// SubLookupFileData substitutes data from lookup files into config
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import (
16
16
"github.com/newrelic/nri-flex/internal/formatter"
17
17
"github.com/newrelic/nri-flex/internal/load"
18
18
"github.com/sirupsen/logrus"
19
- yaml "gopkg.in/yaml.v2 "
19
+ yaml "gopkg.in/yaml.v3 "
20
20
)
21
21
22
22
// runFargateDiscovery check aws metadata endpoint for containers
You can’t perform that action at this time.
0 commit comments