Skip to content

Commit 67a85cf

Browse files
authored
Upgrade integrations SDK (NR-302384) (#144)
* upgrade infra-sdk to a compatible v3 version * add entry to changelog * goimports * go mod tidy * go upgrade to 1.23.2 * remove old build comment * add entry to changelog for go 1.22.3
1 parent 9c55474 commit 67a85cf

32 files changed

+60
-68
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ Unreleased section should follow [Release Toolkit](https://github.com/newrelic/r
99

1010
## Unreleased
1111

12+
### dependency
13+
14+
- Upgrade go to 1.23.2
15+
16+
### enhancements
17+
18+
- Upgrade integrations SDK so the interval is variable and allows intervals up to 5 minutes
19+
1220
## v2.8.7 - 2024-09-10
1321

1422
### ⛓️ Dependencies

build/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.1-bookworm
1+
FROM golang:1.23.2-bookworm
22

33
ARG GH_VERSION='1.9.2'
44

go.mod

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
module github.com/newrelic/nri-mongodb
22

3-
go 1.23.1
3+
go 1.23.2
44

55
require (
66
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8
7-
github.com/newrelic/infra-integrations-sdk v3.8.2+incompatible
7+
github.com/newrelic/infra-integrations-sdk/v3 v3.9.1
88
github.com/stretchr/testify v1.9.0
99
github.com/xeipuuv/gojsonschema v1.2.0
1010
)
1111

1212
require (
1313
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
14-
github.com/pkg/errors v0.9.1 // indirect
1514
github.com/pmezard/go-difflib v1.0.0 // indirect
1615
github.com/stretchr/objx v0.5.2 // indirect
1716
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect

go.sum

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2-
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
32
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
43
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
54
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 h1:DujepqpGd1hyOd7aW59XpK7Qymp8iy83xq74fLr21is=
@@ -9,27 +8,14 @@ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn
98
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
109
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
1110
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
12-
github.com/newrelic/infra-integrations-sdk v3.7.3+incompatible h1:+o/MxTzFsC3BRVKpkw1pXer9Nja2mxWNbV9GfH7iKBc=
13-
github.com/newrelic/infra-integrations-sdk v3.7.3+incompatible/go.mod h1:tMUHRMq6mJS0YyBnbWrTXAnREnQqC1AGO6Lu45u5xAM=
14-
github.com/newrelic/infra-integrations-sdk v3.8.0+incompatible h1:QvwHLsgHyGw4ZULOSnnWQnVPE744K1eda+2XLp2eHtg=
15-
github.com/newrelic/infra-integrations-sdk v3.8.0+incompatible/go.mod h1:tMUHRMq6mJS0YyBnbWrTXAnREnQqC1AGO6Lu45u5xAM=
16-
github.com/newrelic/infra-integrations-sdk v3.8.2+incompatible h1:Ktcm1aPAl7CW3o+FXAIKJ+jygWVXDXaUIWFyf2CXQTk=
17-
github.com/newrelic/infra-integrations-sdk v3.8.2+incompatible/go.mod h1:tMUHRMq6mJS0YyBnbWrTXAnREnQqC1AGO6Lu45u5xAM=
18-
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
19-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
11+
github.com/newrelic/infra-integrations-sdk/v3 v3.9.1 h1:dCtVLsYNHWTQ5aAlAaHroomOUlqxlGTrdi6XTlvBDfI=
12+
github.com/newrelic/infra-integrations-sdk/v3 v3.9.1/go.mod h1:yPeidhcq9Cla0QDquGXH0KqvS2k9xtetFOD7aLA0Z8M=
2013
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
2114
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
2215
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
23-
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
24-
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
25-
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
2616
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
2717
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
2818
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
29-
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
30-
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
31-
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
32-
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
3319
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
3420
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
3521
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c=
@@ -41,6 +27,5 @@ github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQ
4127
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4228
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
4329
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
44-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
4530
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
4631
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

src/arguments/arguments.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"strconv"
77

8-
sdkArgs "github.com/newrelic/infra-integrations-sdk/args"
9-
"github.com/newrelic/infra-integrations-sdk/log"
8+
sdkArgs "github.com/newrelic/infra-integrations-sdk/v3/args"
9+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1010
"github.com/newrelic/nri-mongodb/src/filter"
1111
)
1212

src/connection/info.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"time"
1313

1414
"github.com/globalsign/mgo"
15-
"github.com/newrelic/infra-integrations-sdk/log"
15+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1616
)
1717

1818
// Info is a storage struct which holds all the

src/entities/cluster.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
8-
"github.com/newrelic/infra-integrations-sdk/integration"
7+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
99
"github.com/newrelic/nri-mongodb/src/connection"
1010
)
1111

src/entities/collect.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"time"
77

88
"github.com/globalsign/mgo/bson"
9-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
10-
"github.com/newrelic/infra-integrations-sdk/data/metric"
11-
"github.com/newrelic/infra-integrations-sdk/log"
9+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
10+
"github.com/newrelic/infra-integrations-sdk/v3/data/metric"
11+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1212
"github.com/newrelic/nri-mongodb/src/connection"
1313
"github.com/newrelic/nri-mongodb/src/metrics"
1414
)

src/entities/collect_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55

66
"github.com/globalsign/mgo/bson"
7-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
7+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
88
"github.com/newrelic/nri-mongodb/src/test"
99
"github.com/stretchr/testify/assert"
1010
"github.com/stretchr/testify/mock"

src/entities/collection.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
8-
"github.com/newrelic/infra-integrations-sdk/integration"
7+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
99
"github.com/newrelic/nri-mongodb/src/connection"
1010
"github.com/newrelic/nri-mongodb/src/filter"
1111
)

src/entities/collection_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package entities
33
import (
44
"testing"
55

6-
"github.com/newrelic/infra-integrations-sdk/integration"
6+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
77
"github.com/newrelic/nri-mongodb/src/filter"
88
"github.com/newrelic/nri-mongodb/src/test"
99
"github.com/stretchr/testify/assert"

src/entities/config.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
8-
"github.com/newrelic/infra-integrations-sdk/integration"
9-
"github.com/newrelic/infra-integrations-sdk/log"
7+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1010
"github.com/newrelic/nri-mongodb/src/connection"
1111
)
1212

src/entities/config_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/mock"
99

10-
"github.com/newrelic/infra-integrations-sdk/integration"
10+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
1111
"github.com/newrelic/nri-mongodb/src/test"
1212
"github.com/stretchr/testify/assert"
1313
)

src/entities/database.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
8-
"github.com/newrelic/infra-integrations-sdk/integration"
7+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
99
"github.com/newrelic/nri-mongodb/src/connection"
1010
"github.com/newrelic/nri-mongodb/src/filter"
1111
)

src/entities/database_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/stretchr/testify/mock"
99

10-
"github.com/newrelic/infra-integrations-sdk/integration"
10+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
1111
"github.com/newrelic/nri-mongodb/src/filter"
1212
"github.com/newrelic/nri-mongodb/src/test"
1313
"github.com/stretchr/testify/assert"

src/entities/entities.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/newrelic/infra-integrations-sdk/integration"
9-
"github.com/newrelic/infra-integrations-sdk/log"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1010
"github.com/newrelic/nri-mongodb/src/connection"
1111
)
1212

src/entities/host.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"strconv"
66
"strings"
77

8-
"github.com/newrelic/infra-integrations-sdk/integration"
9-
"github.com/newrelic/infra-integrations-sdk/log"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1010
)
1111

1212
// hostCollector is a base collector for any entity that represents a specific host

src/entities/host_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/globalsign/mgo/bson"
77
"github.com/stretchr/testify/mock"
88

9-
"github.com/newrelic/infra-integrations-sdk/data/inventory"
10-
"github.com/newrelic/infra-integrations-sdk/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/data/inventory"
10+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
1111
"github.com/newrelic/nri-mongodb/src/test"
1212
"github.com/stretchr/testify/assert"
1313
)

src/entities/mongod.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
9-
"github.com/newrelic/infra-integrations-sdk/integration"
10-
"github.com/newrelic/infra-integrations-sdk/log"
8+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
9+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
10+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1111
"github.com/newrelic/nri-mongodb/src/connection"
1212
"github.com/newrelic/nri-mongodb/src/metrics"
1313
)

src/entities/mongod_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package entities
33
import (
44
"testing"
55

6-
"github.com/newrelic/infra-integrations-sdk/integration"
6+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
77
"github.com/newrelic/nri-mongodb/src/test"
88
"github.com/stretchr/testify/assert"
99

src/entities/mongos.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"errors"
55
"fmt"
66

7-
"github.com/newrelic/infra-integrations-sdk/data/attribute"
8-
"github.com/newrelic/infra-integrations-sdk/integration"
9-
"github.com/newrelic/infra-integrations-sdk/log"
7+
"github.com/newrelic/infra-integrations-sdk/v3/data/attribute"
8+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1010
"github.com/newrelic/nri-mongodb/src/connection"
1111
)
1212

src/entities/mongos_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/globalsign/mgo/bson"
77
"github.com/stretchr/testify/mock"
88

9-
"github.com/newrelic/infra-integrations-sdk/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
1010
"github.com/newrelic/nri-mongodb/src/test"
1111
"github.com/stretchr/testify/assert"
1212
)

src/entities/shard.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package entities
22

33
import (
4-
"github.com/newrelic/infra-integrations-sdk/integration"
4+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
55
"github.com/newrelic/nri-mongodb/src/connection"
66
)
77

src/entities/shard_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"github.com/stretchr/testify/assert"
88
"github.com/stretchr/testify/mock"
99

10-
"github.com/newrelic/infra-integrations-sdk/integration"
10+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
1111
"github.com/newrelic/nri-mongodb/src/test"
1212
)
1313

src/filter/database_filter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package filter
44
import (
55
"encoding/json"
66

7-
"github.com/newrelic/infra-integrations-sdk/log"
7+
"github.com/newrelic/infra-integrations-sdk/v3/log"
88
)
99

1010
// DatabaseFilter represents a map of database and collection names to collect

src/mongodb.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"strings"
99
"sync"
1010

11-
"github.com/newrelic/infra-integrations-sdk/integration"
12-
"github.com/newrelic/infra-integrations-sdk/log"
11+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
12+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1313
"github.com/newrelic/nri-mongodb/src/arguments"
1414
"github.com/newrelic/nri-mongodb/src/connection"
1515
"github.com/newrelic/nri-mongodb/src/entities"

src/test/fake_session.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"time"
66

77
"github.com/globalsign/mgo/bson"
8-
"github.com/newrelic/infra-integrations-sdk/data/inventory"
8+
"github.com/newrelic/infra-integrations-sdk/v3/data/inventory"
99
"github.com/newrelic/nri-mongodb/src/connection"
1010
)
1111

src/workers.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package main
33
import (
44
"sync"
55

6-
"github.com/newrelic/infra-integrations-sdk/integration"
7-
"github.com/newrelic/infra-integrations-sdk/log"
6+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
7+
"github.com/newrelic/infra-integrations-sdk/v3/log"
88
"github.com/newrelic/nri-mongodb/src/connection"
99
"github.com/newrelic/nri-mongodb/src/entities"
1010
"github.com/newrelic/nri-mongodb/src/filter"

src/workers_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"time"
77

88
"github.com/globalsign/mgo/bson"
9-
"github.com/newrelic/infra-integrations-sdk/data/metric"
10-
"github.com/newrelic/infra-integrations-sdk/integration"
9+
"github.com/newrelic/infra-integrations-sdk/v3/data/metric"
10+
"github.com/newrelic/infra-integrations-sdk/v3/integration"
1111
"github.com/newrelic/nri-mongodb/src/connection"
1212
"github.com/newrelic/nri-mongodb/src/entities"
1313
"github.com/newrelic/nri-mongodb/src/test"

tests/integration/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.1-bookworm as builder
1+
FROM golang:1.23.2-bookworm as builder
22
ARG CGO_ENABLED=0
33
WORKDIR /go/src/github.com/newrelic/nri-mongodb
44
COPY . .

tests/integration/helpers/helpers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88
"testing"
99

10-
"github.com/newrelic/infra-integrations-sdk/log"
10+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1111
)
1212

1313
// GetTestName returns the name of the running test.

tests/integration/mongodb_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build integration
1+
//go:build integration
22

33
package integration
44

@@ -11,7 +11,7 @@ import (
1111
"testing"
1212
"time"
1313

14-
"github.com/newrelic/infra-integrations-sdk/log"
14+
"github.com/newrelic/infra-integrations-sdk/v3/log"
1515
"github.com/newrelic/nri-mongodb/tests/integration/helpers"
1616
"github.com/newrelic/nri-mongodb/tests/integration/jsonschema"
1717
"github.com/stretchr/testify/assert"

0 commit comments

Comments
 (0)