Repository: newrelic/newrelic-client-go
Pull request #941 (2022-10-18 12:48:38)

fix: update module path to have v2


Patch:
diff --git a/.tutone.yml b/.tutone.yml
index 3a123f5..b7ee20a 100644
--- a/.tutone.yml
+++ b/.tutone.yml
@@ -25,12 +25,12 @@ auth:
 packages:
   - name: synthetics
     path: pkg/synthetics
-    import_path: github.com/newrelic/newrelic-client-go/pkg/synthetics
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/synthetics
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     queries:
       - path: ["actor", "account", "synthetics"]
         endpoints:
@@ -96,7 +96,7 @@ packages:
 
   - name: common
     path: pkg/common
-    import_path: github.com/newrelic/newrelic-client-go/pkg/common
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/common
     generators:
       - typegen
     types:
@@ -105,11 +105,11 @@ packages:
 
   - name: accounts
     path: pkg/accounts
-    import_path: github.com/newrelic/newrelic-client-go/pkg/accounts
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/accounts
     generators:
       - typegen
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     types:
       - name: AccountOutline
       - name: AccountReference
@@ -128,11 +128,11 @@ packages:
 
   - name: alerts
     path: pkg/alerts
-    import_path: github.com/newrelic/newrelic-client-go/pkg/alerts
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/alerts
     generators:
       - typegen
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/apiaccess
+      - github.com/newrelic/newrelic-client-go/v2/pkg/apiaccess
     types:
       - name: AlertsMutingRuleConditionInput
       - name: AlertsMutingRuleInput
@@ -157,11 +157,11 @@ packages:
 
   - name: apiaccess
     path: pkg/apiaccess
-    import_path: github.com/newrelic/newrelic-client-go/pkg/apiaccess
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/apiaccess
     generators:
       - typegen
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/accounts
+      - github.com/newrelic/newrelic-client-go/v2/pkg/accounts
     types:
       - name: ApiAccessActorStitchedFields
       - name: ApiAccessCreateIngestKeyInput
@@ -204,7 +204,7 @@ packages:
   - name: cloud
     path: pkg/cloud
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
       - encoding/json
       - fmt
     generators:
@@ -261,14 +261,14 @@ packages:
 
   - name: dashboards
     path: pkg/dashboards
-    import_path: github.com/newrelic/newrelic-client-go/pkg/dashboards
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/dashboards
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/common
-      - github.com/newrelic/newrelic-client-go/pkg/entities
-      - github.com/newrelic/newrelic-client-go/pkg/nrdb
+      - github.com/newrelic/newrelic-client-go/v2/pkg/common
+      - github.com/newrelic/newrelic-client-go/v2/pkg/entities
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrdb
     mutations:
       - name: dashboardCreate
         max_query_field_depth: 10
@@ -374,7 +374,7 @@ packages:
 
   - name: edge
     path: pkg/edge
-    import_path: github.com/newrelic/newrelic-client-go/pkg/edge
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/edge
     generators:
       - typegen
     types:
@@ -405,17 +405,17 @@ packages:
 
   - name: entities
     path: pkg/entities
-    import_path: github.com/newrelic/newrelic-client-go/pkg/entities
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/entities
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/accounts
-      - github.com/newrelic/newrelic-client-go/pkg/ai
-      - github.com/newrelic/newrelic-client-go/pkg/common
-      - github.com/newrelic/newrelic-client-go/pkg/nrdb
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
-      - github.com/newrelic/newrelic-client-go/pkg/users
+      - github.com/newrelic/newrelic-client-go/v2/pkg/accounts
+      - github.com/newrelic/newrelic-client-go/v2/pkg/ai
+      - github.com/newrelic/newrelic-client-go/v2/pkg/common
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrdb
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/users
     queries:
       - path: ["actor"]
         endpoints:
@@ -677,11 +677,11 @@ packages:
 
   - name: eventstometrics
     path: pkg/eventstometrics
-    import_path: github.com/newrelic/newrelic-client-go/pkg/eventstometrics
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/eventstometrics
     generators:
       - typegen
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     types:
       - name: EventsToMetricsAccountStitchedFields
       - name: EventsToMetricsCreateRuleFailure
@@ -712,14 +712,14 @@ packages:
 
   - name: installevents
     path: pkg/installevents
-    import_path: github.com/newrelic/newrelic-client-go/pkg/installevents
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/installevents
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/common
-      - github.com/newrelic/newrelic-client-go/pkg/entities
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/common
+      - github.com/newrelic/newrelic-client-go/v2/pkg/entities
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     types:
       - name: Timestamp
         field_type_override: nrtime.DateTime
@@ -753,7 +753,7 @@ packages:
 
   - name: nerdstorage
     path: pkg/nerdstorage
-    import_path: github.com/newrelic/newrelic-client-go/pkg/nerdstorage
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/nerdstorage
     generators:
       - typegen
     types:
@@ -766,12 +766,12 @@ packages:
 
   - name: notifications
     path: pkg/notifications
-    import_path: github.com/newrelic/newrelic-client-go/pkg/notifications
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/notifications
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     queries:
       - path: [ "actor", "account", "aiNotifications" ]
         endpoints:
@@ -819,11 +819,11 @@ packages:
 
   - name: nrdb
     path: pkg/nrdb
-    import_path: github.com/newrelic/newrelic-client-go/pkg/nrdb
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/nrdb
     generators:
       - typegen
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     types:
       - name: Nrql
         create_as: string
@@ -851,13 +851,13 @@ packages:
 
   - name: nrqldroprules
     path: pkg/nrqldroprules
-    import_path: github.com/newrelic/newrelic-client-go/pkg/nrqldroprules
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/nrqldroprules
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrdb
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrdb
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     queries:
       - path: ["actor", "account", "nrqlDropRules"]
         endpoints:
@@ -903,11 +903,11 @@ packages:
 
   - name: nrtime
     path: pkg/nrtime
-    import_path: github.com/newrelic/newrelic-client-go/pkg/nrtime
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     generators:
       - typegen
     imports:
-      - github.com/newrelic/newrelic-client-go/internal/serialization
+      - github.com/newrelic/newrelic-client-go/v2/internal/serialization
     types:
       - name: DateTime
         create_as: string
@@ -928,7 +928,7 @@ packages:
 
   - name: users
     path: pkg/users
-    import_path: github.com/newrelic/newrelic-client-go/pkg/users
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/users
     generators:
       - typegen
       - nerdgraphclient
@@ -944,12 +944,12 @@ packages:
 
   - name: workflows
     path: pkg/workflows
-    import_path: github.com/newrelic/newrelic-client-go/pkg/workflows
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/workflows
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
     queries:
       - path: [ "actor", "account", "aiWorkflows" ]
         endpoints:
@@ -985,15 +985,15 @@ packages:
 
   - name: workloads
     path: pkg/workloads
-    import_path: github.com/newrelic/newrelic-client-go/pkg/workloads
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/workloads
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/accounts
-      - github.com/newrelic/newrelic-client-go/pkg/common
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
-      - github.com/newrelic/newrelic-client-go/pkg/users
+      - github.com/newrelic/newrelic-client-go/v2/pkg/accounts
+      - github.com/newrelic/newrelic-client-go/v2/pkg/common
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/users
     queries:
       - path: ["actor", "account", "workload"]
         endpoints:
@@ -1048,16 +1048,16 @@ packages:
 
   - name: servicelevel
     path: pkg/servicelevel
-    import_path: github.com/newrelic/newrelic-client-go/pkg/servicelevel
+    import_path: github.com/newrelic/newrelic-client-go/v2/pkg/servicelevel
     generators:
       - typegen
       - nerdgraphclient
     imports:
-      - github.com/newrelic/newrelic-client-go/pkg/accounts
-      - github.com/newrelic/newrelic-client-go/pkg/common
-      - github.com/newrelic/newrelic-client-go/pkg/entities
-      - github.com/newrelic/newrelic-client-go/pkg/nrtime
-      - github.com/newrelic/newrelic-client-go/pkg/users
+      - github.com/newrelic/newrelic-client-go/v2/pkg/accounts
+      - github.com/newrelic/newrelic-client-go/v2/pkg/common
+      - github.com/newrelic/newrelic-client-go/v2/pkg/entities
+      - github.com/newrelic/newrelic-client-go/v2/pkg/nrtime
+      - github.com/newrelic/newrelic-client-go/v2/pkg/users
     # Custom query to fetch SLIs from the entity API
     queries:
       - path: ["actor", "entity", "serviceLevel"]
diff --git a/README.md b/README.md
index 168f9eb..f8ae4f2 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ Follow the steps below to add `github.com/newrelic/newrelic-client-go` as a depe
     ```go
     package main
 
-    import "github.com/newrelic/newrelic-client-go/newrelic"
+    import "github.com/newrelic/newrelic-client-go/v2/newrelic"
 
     func main() {
       // Initialize the client.
@@ -62,7 +62,7 @@ Follow the steps below to add `github.com/newrelic/newrelic-client-go` as a depe
     go 1.18
 
     require (
-      github.com/newrelic/newrelic-client-go v0.80.0
+      github.com/newrelic/newrelic-client-go/v2 v2.0.1
     )
     ```
 5. The example below demonstrates fetching New Relic entities.
@@ -75,8 +75,8 @@ Follow the steps below to add `github.com/newrelic/newrelic-client-go` as a depe
 
       log "github.com/sirupsen/logrus"
 
-      "github.com/newrelic/newrelic-client-go/newrelic"
-      "github.com/newrelic/newrelic-client-go/pkg/entities"
+      "github.com/newrelic/newrelic-client-go/v2/newrelic"
+      "github.com/newrelic/newrelic-client-go/v2/pkg/entities"
     )
 
     func main() {
@@ -111,7 +111,7 @@ Follow the steps below to add `github.com/newrelic/newrelic-client-go` as a depe
 
 1. Run the following command to tell Go to download the latest version.
    ```
-   go get github.com/newrelic/newrelic-client-go@latest
+   go get github.com/newrelic/newrelic-client-go/v2@latest
    ```
 2. Run `go mod tidy` to sync your dependencies with your code.
 3. Confirm your `go.mod` file is referencing the [latest version](https://github.com/newrelic/newrelic-client-go/releases/latest).
diff --git a/docs/pkg/alerts/README.md b/docs/pkg/alerts/README.md
index de55d19..23a2b38 100644
--- a/docs/pkg/alerts/README.md
+++ b/docs/pkg/alerts/README.md
@@ -1,6 +1,6 @@
 # alerts
 --
-    import "github.com/newrelic/newrelic-client-go/pkg/alerts"
+    import "github.com/newrelic/newrelic-client-go/v2/pkg/alerts"
 
 
 ## Usage
diff --git a/docs/pkg/notifications/README.md b/docs/pkg/notifications/README.md
index 5c7bc7c..6f649d8 100644
--- a/docs/pkg/notifications/README.md
+++ b/docs/pkg/notifications/README.md
@@ -1,6 +1,6 @@
 # notifications
 --
-    import "github.com/newrelic/newrelic-client-go/pkg/notifications"
+    import "github.com/newrelic/newrelic-client-go/v2/pkg/notifications"
 
 ## Usage
 
diff --git a/docs/pkg/workflows/README.md b/docs/pkg/workflows/README.md
index 0110302..d782026 100644
--- a/docs/pkg/workflows/README.md
+++ b/docs/pkg/workflows/README.md
@@ -1,6 +1,6 @@
 # workflows
 --
-    import "github.com/newrelic/newrelic-client-go/pkg/worklfows"
+    import "github.com/newrelic/newrelic-client-go/v2/pkg/worklfows"
 
 ## Usage
 
diff --git a/go.mod b/go.mod
index b65741a..bd8c8d5 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/newrelic/newrelic-client-go
+module github.com/newrelic/newrelic-client-go/v2
 
 go 1.18
 
@@ -11,6 +11,7 @@ require (
 	github.com/sirupsen/logrus v1.8.1
 	github.com/stretchr/testify v1.7.1
 	github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80
+	github.com/valyala/fastjson v1.6.3
 )
 
 require (
@@ -19,7 +20,6 @@ require (
 	github.com/kr/text v0.2.0 // indirect
 	github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
 	github.com/pmezard/go-difflib v1.0.0 // indirect
-	github.com/valyala/fastjson v1.6.3 // indirect
 	golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
 	gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
 	gopkg.in/yaml.v2 v2.4.0 // indirect
diff --git a/internal/http/auth.go b/internal/http/auth.go
index 7c54b3a..5d30124 100644
--- a/internal/http/auth.go
+++ b/internal/http/auth.go
@@ -1,8 +1,8 @@
 package http
 
 import (
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/contextkeys"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/contextkeys"
 )
 
 // RequestAuthorizer is an interface that allows customizatino of how a request is authorized.
diff --git a/internal/http/client.go b/internal/http/client.go
index 3baeaca..51bca82 100644
--- a/internal/http/client.go
+++ b/internal/http/client.go
@@ -13,10 +13,10 @@ import (
 
 	retryablehttp "github.com/hashicorp/go-retryablehttp"
 
-	"github.com/newrelic/newrelic-client-go/internal/version"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	nrErrors "github.com/newrelic/newrelic-client-go/pkg/errors"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/version"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	nrErrors "github.com/newrelic/newrelic-client-go/v2/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 const (
diff --git a/internal/http/request.go b/internal/http/request.go
index dfcf31c..320fb0e 100644
--- a/internal/http/request.go
+++ b/internal/http/request.go
@@ -9,7 +9,7 @@ import (
 	"github.com/google/go-querystring/query"
 	retryablehttp "github.com/hashicorp/go-retryablehttp"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 // Request represents a configurable HTTP request.
diff --git a/newrelic/newrelic.go b/newrelic/newrelic.go
index 37ec0b2..2346c38 100644
--- a/newrelic/newrelic.go
+++ b/newrelic/newrelic.go
@@ -7,31 +7,31 @@ import (
 
 	log "github.com/sirupsen/logrus"
 
-	"github.com/newrelic/newrelic-client-go/pkg/accounts"
-	"github.com/newrelic/newrelic-client-go/pkg/alerts"
-	"github.com/newrelic/newrelic-client-go/pkg/apiaccess"
-	"github.com/newrelic/newrelic-client-go/pkg/apm"
-	"github.com/newrelic/newrelic-client-go/pkg/cloud"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/dashboards"
-	"github.com/newrelic/newrelic-client-go/pkg/edge"
-	"github.com/newrelic/newrelic-client-go/pkg/entities"
-	"github.com/newrelic/newrelic-client-go/pkg/events"
-	"github.com/newrelic/newrelic-client-go/pkg/eventstometrics"
-	"github.com/newrelic/newrelic-client-go/pkg/installevents"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
-	"github.com/newrelic/newrelic-client-go/pkg/logs"
-	"github.com/newrelic/newrelic-client-go/pkg/nerdgraph"
-	"github.com/newrelic/newrelic-client-go/pkg/nerdstorage"
-	"github.com/newrelic/newrelic-client-go/pkg/notifications"
-	"github.com/newrelic/newrelic-client-go/pkg/nrdb"
-	"github.com/newrelic/newrelic-client-go/pkg/nrqldroprules"
-	"github.com/newrelic/newrelic-client-go/pkg/plugins"
-	"github.com/newrelic/newrelic-client-go/pkg/region"
-	"github.com/newrelic/newrelic-client-go/pkg/servicelevel"
-	"github.com/newrelic/newrelic-client-go/pkg/synthetics"
-	"github.com/newrelic/newrelic-client-go/pkg/workflows"
-	"github.com/newrelic/newrelic-client-go/pkg/workloads"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/accounts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/alerts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/apiaccess"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/apm"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/cloud"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/dashboards"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/edge"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/entities"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/events"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/eventstometrics"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/installevents"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logs"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nerdgraph"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nerdstorage"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/notifications"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrdb"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrqldroprules"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/plugins"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/region"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/servicelevel"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/synthetics"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/workflows"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/workloads"
 )
 
 // NewRelic is a collection of New Relic APIs.
diff --git a/pkg/accounts/accounts.go b/pkg/accounts/accounts.go
index fd01b82..1d909eb 100644
--- a/pkg/accounts/accounts.go
+++ b/pkg/accounts/accounts.go
@@ -4,9 +4,9 @@ package accounts
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Accounts is used to interact with New Relic accounts.
diff --git a/pkg/alerts/alerts.go b/pkg/alerts/alerts.go
index d32693a..98774f0 100644
--- a/pkg/alerts/alerts.go
+++ b/pkg/alerts/alerts.go
@@ -1,10 +1,10 @@
 package alerts
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/infrastructure"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/infrastructure"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Alerts is used to communicate with New Relic Alerts.
diff --git a/pkg/alerts/channels.go b/pkg/alerts/channels.go
index 9834649..a3da797 100644
--- a/pkg/alerts/channels.go
+++ b/pkg/alerts/channels.go
@@ -4,9 +4,9 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 // ChannelType specifies the channel type used when creating the alert channel.
diff --git a/pkg/alerts/conditions.go b/pkg/alerts/conditions.go
index c8c2ee4..80eade5 100644
--- a/pkg/alerts/conditions.go
+++ b/pkg/alerts/conditions.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // ConditionType specifies the condition type used when creating the alert condition.
diff --git a/pkg/alerts/events.go b/pkg/alerts/events.go
index aba2462..17d9410 100644
--- a/pkg/alerts/events.go
+++ b/pkg/alerts/events.go
@@ -3,7 +3,7 @@ package alerts
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 // AlertEvent response struct
diff --git a/pkg/alerts/incidents.go b/pkg/alerts/incidents.go
index 71da7aa..f11582d 100644
--- a/pkg/alerts/incidents.go
+++ b/pkg/alerts/incidents.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 // Incident represents a New Relic alert incident.
diff --git a/pkg/alerts/infrastructure_conditions.go b/pkg/alerts/infrastructure_conditions.go
index 5f3291e..82809d8 100644
--- a/pkg/alerts/infrastructure_conditions.go
+++ b/pkg/alerts/infrastructure_conditions.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 // InfrastructureCondition represents a New Relic Infrastructure alert condition.
diff --git a/pkg/alerts/multi_location_synthetics_conditions.go b/pkg/alerts/multi_location_synthetics_conditions.go
index 79f188d..e9e35e2 100644
--- a/pkg/alerts/multi_location_synthetics_conditions.go
+++ b/pkg/alerts/multi_location_synthetics_conditions.go
@@ -5,7 +5,7 @@ import (
 	"fmt"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // MultiLocationSyntheticsCondition represents a location-based failure condition.
diff --git a/pkg/alerts/nerdgraph.go b/pkg/alerts/nerdgraph.go
index 1377731..4d68b14 100644
--- a/pkg/alerts/nerdgraph.go
+++ b/pkg/alerts/nerdgraph.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"strings"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
 )
 
 // NerdGraphQueryWithContext works similarly to the default client's NerdGraphQueryWithContext but with a custom error
diff --git a/pkg/alerts/nrql_conditions.go b/pkg/alerts/nrql_conditions.go
index 05ab369..62179b0 100644
--- a/pkg/alerts/nrql_conditions.go
+++ b/pkg/alerts/nrql_conditions.go
@@ -4,9 +4,9 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // AlertsNrqlConditionExpiration
diff --git a/pkg/alerts/plugins_conditions.go b/pkg/alerts/plugins_conditions.go
index a85e645..b0260dd 100644
--- a/pkg/alerts/plugins_conditions.go
+++ b/pkg/alerts/plugins_conditions.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // PluginsCondition represents an alert condition for New Relic Plugins.
diff --git a/pkg/alerts/policies.go b/pkg/alerts/policies.go
index 3a05023..41ab163 100644
--- a/pkg/alerts/policies.go
+++ b/pkg/alerts/policies.go
@@ -4,10 +4,10 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 // IncidentPreferenceType specifies rollup settings for alert policies.
diff --git a/pkg/alerts/synthetics_conditions.go b/pkg/alerts/synthetics_conditions.go
index 3cafa68..297cdaa 100644
--- a/pkg/alerts/synthetics_conditions.go
+++ b/pkg/alerts/synthetics_conditions.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // SyntheticsCondition represents a New Relic Synthetics alert condition.
diff --git a/pkg/alerts/types.go b/pkg/alerts/types.go
index 900d4a6..bc8daed 100644
--- a/pkg/alerts/types.go
+++ b/pkg/alerts/types.go
@@ -1,7 +1,7 @@
 // Code generated by tutone: DO NOT EDIT
 package alerts
 
-import "github.com/newrelic/newrelic-client-go/pkg/nrtime"
+import "github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 
 // AlertsDayOfWeek - The day of the week used to configure a WEEKLY scheduled MutingRule
 type AlertsDayOfWeek string
diff --git a/pkg/apiaccess/apiaccess.go b/pkg/apiaccess/apiaccess.go
index 26fb2a3..935c37a 100644
--- a/pkg/apiaccess/apiaccess.go
+++ b/pkg/apiaccess/apiaccess.go
@@ -2,9 +2,9 @@
 package apiaccess
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // APIAccess is used to communicate with the New Relic APIKeys product.
diff --git a/pkg/apiaccess/keys.go b/pkg/apiaccess/keys.go
index 6425f59..e2b7641 100644
--- a/pkg/apiaccess/keys.go
+++ b/pkg/apiaccess/keys.go
@@ -4,7 +4,7 @@ import (
 	"context"
 	"errors"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
 )
 
 type APIKey struct {
@@ -15,9 +15,7 @@ type APIKey struct {
 	UserID     *int                   `json:"userId,omitempty"`
 }
 
-//
 // Additional Interface methods
-//
 func (x *APIAccessIngestKeyError) GetError() error {
 	return errors.New(x.Message)
 }
diff --git a/pkg/apiaccess/types.go b/pkg/apiaccess/types.go
index a186491..96d83fd 100644
--- a/pkg/apiaccess/types.go
+++ b/pkg/apiaccess/types.go
@@ -5,8 +5,8 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/accounts"
-	"github.com/newrelic/newrelic-client-go/pkg/users"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/accounts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/users"
 )
 
 // APIAccessIngestKeyErrorType - The type of error.
diff --git a/pkg/apm/apm.go b/pkg/apm/apm.go
index b1a2a35..ce38521 100644
--- a/pkg/apm/apm.go
+++ b/pkg/apm/apm.go
@@ -2,8 +2,8 @@
 package apm
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 // APM is used to communicate with the New Relic APM product.
diff --git a/pkg/apm/deployments.go b/pkg/apm/deployments.go
index e7b0254..ab1bbfe 100644
--- a/pkg/apm/deployments.go
+++ b/pkg/apm/deployments.go
@@ -5,7 +5,7 @@ import (
 	"fmt"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
 )
 
 // Deployment represents information about a New Relic application deployment.
diff --git a/pkg/apm/labels.go b/pkg/apm/labels.go
index 1f240c5..a91a256 100644
--- a/pkg/apm/labels.go
+++ b/pkg/apm/labels.go
@@ -3,7 +3,7 @@ package apm
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // Label represents a New Relic label.
diff --git a/pkg/cloud/cloud.go b/pkg/cloud/cloud.go
index 7915c8a..976b169 100644
--- a/pkg/cloud/cloud.go
+++ b/pkg/cloud/cloud.go
@@ -1,9 +1,9 @@
 package cloud
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 type Cloud struct {
diff --git a/pkg/cloud/cloud_api.go b/pkg/cloud/cloud_api.go
index f461945..6421424 100644
--- a/pkg/cloud/cloud_api.go
+++ b/pkg/cloud/cloud_api.go
@@ -4,7 +4,7 @@ package cloud
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // Create or modify a cloud integration.
diff --git a/pkg/cloud/types.go b/pkg/cloud/types.go
index 9df2434..60c7bd8 100644
--- a/pkg/cloud/types.go
+++ b/pkg/cloud/types.go
@@ -5,7 +5,7 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // CloudMetricCollectionMode - How metrics will be collected.
diff --git a/pkg/config/config.go b/pkg/config/config.go
index f07c4cb..4cfd7c5 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -5,9 +5,9 @@ import (
 	"net/http"
 	"time"
 
-	"github.com/newrelic/newrelic-client-go/internal/version"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
-	"github.com/newrelic/newrelic-client-go/pkg/region"
+	"github.com/newrelic/newrelic-client-go/v2/internal/version"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/region"
 )
 
 // Config contains all the configuration data for the API Client.
diff --git a/pkg/dashboards/dashboard.go b/pkg/dashboards/dashboard.go
index 58c7d57..bfabaa0 100644
--- a/pkg/dashboards/dashboard.go
+++ b/pkg/dashboards/dashboard.go
@@ -3,9 +3,9 @@ package dashboards
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/entities"
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/entities"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // GetDashboardEntity is used to retrieve a single New Relic One Dashboard
diff --git a/pkg/dashboards/dashboards.go b/pkg/dashboards/dashboards.go
index 02503d0..e9da1cd 100644
--- a/pkg/dashboards/dashboards.go
+++ b/pkg/dashboards/dashboards.go
@@ -2,9 +2,9 @@
 package dashboards
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Dashboards is used to communicate with the New Relic Dashboards product.
diff --git a/pkg/dashboards/dashboards_api.go b/pkg/dashboards/dashboards_api.go
index 0d974e4..a5b7b32 100644
--- a/pkg/dashboards/dashboards_api.go
+++ b/pkg/dashboards/dashboards_api.go
@@ -5,7 +5,7 @@ import (
 	"context"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
 )
 
 // Create a `DashboardEntity`
diff --git a/pkg/dashboards/type_overrides.go b/pkg/dashboards/type_overrides.go
index bdf3219..f4e7d00 100644
--- a/pkg/dashboards/type_overrides.go
+++ b/pkg/dashboards/type_overrides.go
@@ -1,7 +1,7 @@
 // DashboardBillboardWidgetThresholdInput - Billboard widget threshold input.
 package dashboards
 
-import "github.com/newrelic/newrelic-client-go/pkg/entities"
+import "github.com/newrelic/newrelic-client-go/v2/pkg/entities"
 
 type DashboardBillboardWidgetThresholdInput struct {
 	// alert severity.
diff --git a/pkg/dashboards/types.go b/pkg/dashboards/types.go
index 778ec7c..55e08c5 100644
--- a/pkg/dashboards/types.go
+++ b/pkg/dashboards/types.go
@@ -2,10 +2,10 @@
 package dashboards
 
 import (
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/entities"
-	"github.com/newrelic/newrelic-client-go/pkg/nrdb"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/entities"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrdb"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // DashboardCreateErrorType - Expected error types that can be returned by create operation
diff --git a/pkg/edge/edge.go b/pkg/edge/edge.go
index f9581af..c01e626 100644
--- a/pkg/edge/edge.go
+++ b/pkg/edge/edge.go
@@ -2,9 +2,9 @@
 package edge
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Edge is used to communicate with the New Relic Edge product.
diff --git a/pkg/entities/entities.go b/pkg/entities/entities.go
index d117c93..06813b7 100644
--- a/pkg/entities/entities.go
+++ b/pkg/entities/entities.go
@@ -2,9 +2,9 @@
 package entities
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Entities is used to communicate with the New Relic Entities product.
diff --git a/pkg/entities/entities_api.go b/pkg/entities/entities_api.go
index 2d75ce6..148422e 100644
--- a/pkg/entities/entities_api.go
+++ b/pkg/entities/entities_api.go
@@ -4,8 +4,8 @@ package entities
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // Adds the provided tags to your specified entity, without deleting existing ones.
diff --git a/pkg/entities/tags.go b/pkg/entities/tags.go
index c714a70..ee90310 100644
--- a/pkg/entities/tags.go
+++ b/pkg/entities/tags.go
@@ -5,7 +5,7 @@ import (
 	"errors"
 	"strings"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
 )
 
 // Tag represents a New Relic One entity tag.
diff --git a/pkg/entities/types.go b/pkg/entities/types.go
index f2c73d7..6accf48 100644
--- a/pkg/entities/types.go
+++ b/pkg/entities/types.go
@@ -5,13 +5,13 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/accounts"
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/nrdb"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
-	"github.com/newrelic/newrelic-client-go/pkg/servicelevel"
-	"github.com/newrelic/newrelic-client-go/pkg/users"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/accounts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrdb"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/servicelevel"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/users"
 )
 
 type AccountStatus string
diff --git a/pkg/events/events.go b/pkg/events/events.go
index bc75dcd..f186293 100644
--- a/pkg/events/events.go
+++ b/pkg/events/events.go
@@ -8,9 +8,9 @@ import (
 	"strings"
 	"time"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 const (
diff --git a/pkg/eventstometrics/eventstometrics.go b/pkg/eventstometrics/eventstometrics.go
index 514f265..0a1890d 100644
--- a/pkg/eventstometrics/eventstometrics.go
+++ b/pkg/eventstometrics/eventstometrics.go
@@ -6,10 +6,10 @@ import (
 	"fmt"
 	"strings"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	nrErrors "github.com/newrelic/newrelic-client-go/pkg/errors"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	nrErrors "github.com/newrelic/newrelic-client-go/v2/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // EventsToMetrics is used to communicate with New Relic EventsToMetrics.
diff --git a/pkg/eventstometrics/types.go b/pkg/eventstometrics/types.go
index b5437f7..9d71a7d 100644
--- a/pkg/eventstometrics/types.go
+++ b/pkg/eventstometrics/types.go
@@ -2,7 +2,7 @@
 package eventstometrics
 
 import (
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // EventsToMetricsErrorReason - General error categories.
diff --git a/pkg/infrastructure/infrastructure.go b/pkg/infrastructure/infrastructure.go
index 98118cd..a3fa3e9 100644
--- a/pkg/infrastructure/infrastructure.go
+++ b/pkg/infrastructure/infrastructure.go
@@ -4,7 +4,7 @@ package infrastructure
 import (
 	"net/http"
 
-	nrhttp "github.com/newrelic/newrelic-client-go/internal/http"
+	nrhttp "github.com/newrelic/newrelic-client-go/v2/internal/http"
 )
 
 // ErrorResponse represents an error response from New Relic Infrastructure.
diff --git a/pkg/installevents/installevents.go b/pkg/installevents/installevents.go
index 0367cb0..8539cc1 100644
--- a/pkg/installevents/installevents.go
+++ b/pkg/installevents/installevents.go
@@ -1,9 +1,9 @@
 package installevents
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Installevents is used to communicate with the Install Events Service.
diff --git a/pkg/installevents/types.go b/pkg/installevents/types.go
index be607cb..951ff1f 100644
--- a/pkg/installevents/types.go
+++ b/pkg/installevents/types.go
@@ -2,8 +2,8 @@
 package installevents
 
 import (
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // InstallationInstallStateType - An enum that represent the installation state.
diff --git a/pkg/logs/logs.go b/pkg/logs/logs.go
index 7173f61..e39bd8d 100644
--- a/pkg/logs/logs.go
+++ b/pkg/logs/logs.go
@@ -4,9 +4,9 @@ import (
 	"errors"
 	"time"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Logs is used to send log data to the New Relic Log API
diff --git a/pkg/nerdgraph/nerdgraph.go b/pkg/nerdgraph/nerdgraph.go
index 9ec93c5..b7d79c6 100644
--- a/pkg/nerdgraph/nerdgraph.go
+++ b/pkg/nerdgraph/nerdgraph.go
@@ -4,9 +4,9 @@ package nerdgraph
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // NerdGraph is used to communicate with the New Relic's GraphQL API, NerdGraph.
diff --git a/pkg/nerdstorage/nerdstorage.go b/pkg/nerdstorage/nerdstorage.go
index f870daa..f3ee171 100644
--- a/pkg/nerdstorage/nerdstorage.go
+++ b/pkg/nerdstorage/nerdstorage.go
@@ -7,9 +7,9 @@ import (
 
 	"github.com/imdario/mergo"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 const (
diff --git a/pkg/notifications/notifications.go b/pkg/notifications/notifications.go
index 7e64c00..4d33269 100644
--- a/pkg/notifications/notifications.go
+++ b/pkg/notifications/notifications.go
@@ -1,10 +1,10 @@
 package notifications
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/infrastructure"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/infrastructure"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Notifications are used to communicate with New Relic Notifications.
diff --git a/pkg/notifications/notifications_api.go b/pkg/notifications/notifications_api.go
index 99bdfdf..6afef2b 100644
--- a/pkg/notifications/notifications_api.go
+++ b/pkg/notifications/notifications_api.go
@@ -4,7 +4,7 @@ package notifications
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
 )
 
 // Create a Channel
diff --git a/pkg/notifications/types.go b/pkg/notifications/types.go
index 241409d..e4fd357 100644
--- a/pkg/notifications/types.go
+++ b/pkg/notifications/types.go
@@ -5,8 +5,8 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // AiNotificationsAuthType - Authentication types
diff --git a/pkg/nrdb/nrdb.go b/pkg/nrdb/nrdb.go
index 7e14f7d..5d9d2f3 100644
--- a/pkg/nrdb/nrdb.go
+++ b/pkg/nrdb/nrdb.go
@@ -2,9 +2,9 @@
 package nrdb
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Nrdb is used to communicate with the New Relic's Datastore, NRDB.
diff --git a/pkg/nrdb/types.go b/pkg/nrdb/types.go
index 5dd928c..034373b 100644
--- a/pkg/nrdb/types.go
+++ b/pkg/nrdb/types.go
@@ -5,7 +5,7 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // ChartFormatType - Represents all the format types available for static charts.
diff --git a/pkg/nrqldroprules/nrqldroprules.go b/pkg/nrqldroprules/nrqldroprules.go
index 8350ea1..31385fd 100644
--- a/pkg/nrqldroprules/nrqldroprules.go
+++ b/pkg/nrqldroprules/nrqldroprules.go
@@ -2,9 +2,9 @@
 package nrqldroprules
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // NrqlDropRules is used to interact with New Relic accounts.
diff --git a/pkg/nrqldroprules/types.go b/pkg/nrqldroprules/types.go
index ac00190..e941dbb 100644
--- a/pkg/nrqldroprules/types.go
+++ b/pkg/nrqldroprules/types.go
@@ -2,7 +2,7 @@
 package nrqldroprules
 
 import (
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // NRQLDropRulesAction - Specifies how data matching the drop rule's NRQL string should be processed.
diff --git a/pkg/nrtime/types.go b/pkg/nrtime/types.go
index 06b826c..183ba87 100644
--- a/pkg/nrtime/types.go
+++ b/pkg/nrtime/types.go
@@ -2,7 +2,7 @@
 package nrtime
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 // TimeWindowInput - Represents a time window input.
diff --git a/pkg/nrtime/types_func.go b/pkg/nrtime/types_func.go
index 209c065..abc9bc0 100644
--- a/pkg/nrtime/types_func.go
+++ b/pkg/nrtime/types_func.go
@@ -1,7 +1,7 @@
 package nrtime
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 //
diff --git a/pkg/plugins/plugins.go b/pkg/plugins/plugins.go
index 0cc84d6..b436b4b 100644
--- a/pkg/plugins/plugins.go
+++ b/pkg/plugins/plugins.go
@@ -4,9 +4,9 @@ package plugins
 import (
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Plugins is used to communicate with the New Relic Plugins product.
diff --git a/pkg/servicelevel/servicelevel.go b/pkg/servicelevel/servicelevel.go
index ec46245..bb02ab2 100644
--- a/pkg/servicelevel/servicelevel.go
+++ b/pkg/servicelevel/servicelevel.go
@@ -2,9 +2,9 @@
 package servicelevel
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 type Servicelevel struct {
diff --git a/pkg/servicelevel/servicelevel_api.go b/pkg/servicelevel/servicelevel_api.go
index 8ba0754..1849475 100644
--- a/pkg/servicelevel/servicelevel_api.go
+++ b/pkg/servicelevel/servicelevel_api.go
@@ -4,8 +4,8 @@ package servicelevel
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // Creates a new SLI.
diff --git a/pkg/servicelevel/types.go b/pkg/servicelevel/types.go
index 2348a9c..148e501 100644
--- a/pkg/servicelevel/types.go
+++ b/pkg/servicelevel/types.go
@@ -2,9 +2,9 @@
 package servicelevel
 
 import (
-	"github.com/newrelic/newrelic-client-go/pkg/accounts"
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/accounts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // ServiceLevelEventsQuerySelectFunction - The function to use in the SELECT clause.
diff --git a/pkg/synthetics/synthetics.go b/pkg/synthetics/synthetics.go
index f5a2dd6..facae61 100644
--- a/pkg/synthetics/synthetics.go
+++ b/pkg/synthetics/synthetics.go
@@ -4,9 +4,9 @@ package synthetics
 import (
 	"strings"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Synthetics is used to communicate with the New Relic Synthetics product.
diff --git a/pkg/synthetics/synthetics_api.go b/pkg/synthetics/synthetics_api.go
index 9014117..227d9ca 100644
--- a/pkg/synthetics/synthetics_api.go
+++ b/pkg/synthetics/synthetics_api.go
@@ -4,7 +4,7 @@ package synthetics
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 )
 
 // Create a Synthetic Broken Links monitor
diff --git a/pkg/synthetics/types.go b/pkg/synthetics/types.go
index 411589c..f5260ed 100644
--- a/pkg/synthetics/types.go
+++ b/pkg/synthetics/types.go
@@ -5,7 +5,7 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // Nr1CatalogInstallPlanDestination - Possible destinations for the install plan target
diff --git a/pkg/users/users.go b/pkg/users/users.go
index c3c1bd9..db26ea0 100644
--- a/pkg/users/users.go
+++ b/pkg/users/users.go
@@ -2,9 +2,9 @@
 package users
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Users is used to interact with New Relic users.
diff --git a/pkg/workflows/types.go b/pkg/workflows/types.go
index ca8a597..55296e0 100644
--- a/pkg/workflows/types.go
+++ b/pkg/workflows/types.go
@@ -5,8 +5,8 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 // AiWorkflowsCreateErrorType - Type of create error
diff --git a/pkg/workflows/workflows.go b/pkg/workflows/workflows.go
index 9eeb92e..b064b6d 100644
--- a/pkg/workflows/workflows.go
+++ b/pkg/workflows/workflows.go
@@ -1,10 +1,10 @@
 package workflows
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/infrastructure"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/infrastructure"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Workflows are used to communicate with New Relic Workflows.
diff --git a/pkg/workflows/workflows_api.go b/pkg/workflows/workflows_api.go
index 48fe5bf..857f1c9 100644
--- a/pkg/workflows/workflows_api.go
+++ b/pkg/workflows/workflows_api.go
@@ -4,7 +4,7 @@ package workflows
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
 )
 
 // Create a new Workflow with issues filter, enrichments and destinations
diff --git a/pkg/workloads/types.go b/pkg/workloads/types.go
index e51b489..9f6b428 100644
--- a/pkg/workloads/types.go
+++ b/pkg/workloads/types.go
@@ -5,10 +5,10 @@ import (
 	"encoding/json"
 	"fmt"
 
-	"github.com/newrelic/newrelic-client-go/pkg/accounts"
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
-	"github.com/newrelic/newrelic-client-go/pkg/users"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/accounts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/users"
 )
 
 // EntityCollectionType - Indicates where this collection is used
diff --git a/pkg/workloads/workloads.go b/pkg/workloads/workloads.go
index 4d4747b..8c658ed 100644
--- a/pkg/workloads/workloads.go
+++ b/pkg/workloads/workloads.go
@@ -3,9 +3,9 @@
 package workloads
 
 import (
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 // Workloads is used to communicate with the New Relic Workloads product.
diff --git a/pkg/workloads/workloads_api.go b/pkg/workloads/workloads_api.go
index 72f3977..098a5bd 100644
--- a/pkg/workloads/workloads_api.go
+++ b/pkg/workloads/workloads_api.go
@@ -4,7 +4,7 @@ package workloads
 import (
 	"context"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
 )
 
 // Creates a new workload.
diff --git a/tools/go.mod b/tools/go.mod
index bd52790..1ea424a 100644
--- a/tools/go.mod
+++ b/tools/go.mod
@@ -1,4 +1,4 @@
-module github.com/newrelic/newrelic-client-go/tools
+module github.com/newrelic/newrelic-client-go/v2/tools
 
 go 1.18
 


Test patch:
diff --git a/internal/http/client_test.go b/internal/http/client_test.go
index 361b0e4..36f6042 100644
--- a/internal/http/client_test.go
+++ b/internal/http/client_test.go
@@ -11,15 +11,15 @@ import (
 	"testing"
 	"time"
 
-	"github.com/newrelic/newrelic-client-go/pkg/contextkeys"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/contextkeys"
 
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 const (
diff --git a/internal/http/compress_test.go b/internal/http/compress_test.go
index 963f0b3..1cfa57f 100644
--- a/internal/http/compress_test.go
+++ b/internal/http/compress_test.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var testCompressionCases = []struct {
diff --git a/internal/http/test_helpers.go b/internal/http/test_helpers.go
index cae87e7..dc98193 100644
--- a/internal/http/test_helpers.go
+++ b/internal/http/test_helpers.go
@@ -5,7 +5,7 @@ import (
 	"net/http/httptest"
 	"testing"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 // NewTestAPIClient returns a test Client instance that is configured to communicate with a mock server.
diff --git a/newrelic/example_basic_test.go b/newrelic/example_basic_test.go
index 3466d30..2d71f35 100644
--- a/newrelic/example_basic_test.go
+++ b/newrelic/example_basic_test.go
@@ -5,11 +5,11 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/alerts"
-	"github.com/newrelic/newrelic-client-go/pkg/apm"
-	"github.com/newrelic/newrelic-client-go/pkg/entities"
-	"github.com/newrelic/newrelic-client-go/pkg/plugins"
-	"github.com/newrelic/newrelic-client-go/pkg/workloads"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/alerts"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/apm"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/entities"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/plugins"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/workloads"
 )
 
 func Example_basic() {
diff --git a/newrelic/newrelic_test.go b/newrelic/newrelic_test.go
index f98a24b..3e109d9 100644
--- a/newrelic/newrelic_test.go
+++ b/newrelic/newrelic_test.go
@@ -12,8 +12,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/logging"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/logging"
 )
 
 var testAPIkey = "asdf1234"
diff --git a/pkg/accounts/accounts_integration_test.go b/pkg/accounts/accounts_integration_test.go
index e474a64..3195f6a 100644
--- a/pkg/accounts/accounts_integration_test.go
+++ b/pkg/accounts/accounts_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationAccounts(t *testing.T) {
diff --git a/pkg/accounts/example_accounts_test.go b/pkg/accounts/example_accounts_test.go
index 40e151d..28e350c 100644
--- a/pkg/accounts/example_accounts_test.go
+++ b/pkg/accounts/example_accounts_test.go
@@ -4,7 +4,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_accounts() {
diff --git a/pkg/alerts/alerts_test.go b/pkg/alerts/alerts_test.go
index f7a03c5..825f103 100644
--- a/pkg/alerts/alerts_test.go
+++ b/pkg/alerts/alerts_test.go
@@ -8,7 +8,7 @@ import (
 	"net/http/httptest"
 	"testing"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 // TODO: This is used by incidents_test.go still, need to refactor
diff --git a/pkg/alerts/channels_integration_test.go b/pkg/alerts/channels_integration_test.go
index aea08fe..ceb04cf 100644
--- a/pkg/alerts/channels_integration_test.go
+++ b/pkg/alerts/channels_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 func TestIntegrationChannel(t *testing.T) {
diff --git a/pkg/alerts/channels_test.go b/pkg/alerts/channels_test.go
index 766cca9..ab17da0 100644
--- a/pkg/alerts/channels_test.go
+++ b/pkg/alerts/channels_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 var (
diff --git a/pkg/alerts/conditions_integration_test.go b/pkg/alerts/conditions_integration_test.go
index fc79258..ae1feb8 100644
--- a/pkg/alerts/conditions_integration_test.go
+++ b/pkg/alerts/conditions_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationConditions(t *testing.T) {
diff --git a/pkg/alerts/example_policy_test.go b/pkg/alerts/example_policy_test.go
index 40ad2b8..0a57674 100644
--- a/pkg/alerts/example_policy_test.go
+++ b/pkg/alerts/example_policy_test.go
@@ -4,7 +4,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_policy() {
diff --git a/pkg/alerts/infrastructure_conditions_integration_test.go b/pkg/alerts/infrastructure_conditions_integration_test.go
index 367c3d1..e6f1cce 100644
--- a/pkg/alerts/infrastructure_conditions_integration_test.go
+++ b/pkg/alerts/infrastructure_conditions_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationListInfrastructureConditions(t *testing.T) {
diff --git a/pkg/alerts/multi_location_synthetics_conditions_integration_test.go b/pkg/alerts/multi_location_synthetics_conditions_integration_test.go
index 80e2f03..984bcaa 100644
--- a/pkg/alerts/multi_location_synthetics_conditions_integration_test.go
+++ b/pkg/alerts/multi_location_synthetics_conditions_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationMultiLocationSyntheticsConditions(t *testing.T) {
diff --git a/pkg/alerts/muting_rules_integration_test.go b/pkg/alerts/muting_rules_integration_test.go
index f9d3377..ac81667 100644
--- a/pkg/alerts/muting_rules_integration_test.go
+++ b/pkg/alerts/muting_rules_integration_test.go
@@ -9,8 +9,8 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationAlertsMutingRules(t *testing.T) {
diff --git a/pkg/alerts/nrql_conditions_integration_test.go b/pkg/alerts/nrql_conditions_integration_test.go
index a88dda4..8a0b53a 100644
--- a/pkg/alerts/nrql_conditions_integration_test.go
+++ b/pkg/alerts/nrql_conditions_integration_test.go
@@ -9,9 +9,9 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var (
diff --git a/pkg/alerts/nrql_conditions_test.go b/pkg/alerts/nrql_conditions_test.go
index 25e4c22..8ee37bd 100644
--- a/pkg/alerts/nrql_conditions_test.go
+++ b/pkg/alerts/nrql_conditions_test.go
@@ -7,7 +7,7 @@ import (
 	"net/http"
 	"testing"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
 
 	"github.com/stretchr/testify/assert"
 )
diff --git a/pkg/alerts/plugins_conditions_integration_test.go b/pkg/alerts/plugins_conditions_integration_test.go
index 1364292..02f1ed0 100644
--- a/pkg/alerts/plugins_conditions_integration_test.go
+++ b/pkg/alerts/plugins_conditions_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationPluginsConditions(t *testing.T) {
diff --git a/pkg/alerts/policies_integration_test.go b/pkg/alerts/policies_integration_test.go
index 3339aa8..115ca66 100644
--- a/pkg/alerts/policies_integration_test.go
+++ b/pkg/alerts/policies_integration_test.go
@@ -10,8 +10,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/errors"
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/errors"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestAlertsPolicy_Legacy(t *testing.T) {
diff --git a/pkg/alerts/policies_test.go b/pkg/alerts/policies_test.go
index 6b9b124..b3d7573 100644
--- a/pkg/alerts/policies_test.go
+++ b/pkg/alerts/policies_test.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/internal/serialization"
+	"github.com/newrelic/newrelic-client-go/v2/internal/serialization"
 )
 
 var (
diff --git a/pkg/alerts/policy_channels_integration_test.go b/pkg/alerts/policy_channels_integration_test.go
index 838bb92..877777b 100644
--- a/pkg/alerts/policy_channels_integration_test.go
+++ b/pkg/alerts/policy_channels_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationPolicyChannels(t *testing.T) {
diff --git a/pkg/alerts/synthetics_conditions_integration_test.go b/pkg/alerts/synthetics_conditions_integration_test.go
index f1daba7..4c13422 100644
--- a/pkg/alerts/synthetics_conditions_integration_test.go
+++ b/pkg/alerts/synthetics_conditions_integration_test.go
@@ -9,8 +9,8 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/synthetics"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/synthetics"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationSyntheticsConditions(t *testing.T) {
diff --git a/pkg/apiaccess/insights_keys_integration_test.go b/pkg/apiaccess/insights_keys_integration_test.go
index c9efd0b..f510d0f 100644
--- a/pkg/apiaccess/insights_keys_integration_test.go
+++ b/pkg/apiaccess/insights_keys_integration_test.go
@@ -5,7 +5,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationAPIAccess_InsightsInsertKeys(t *testing.T) {
diff --git a/pkg/apiaccess/keys_integration_test.go b/pkg/apiaccess/keys_integration_test.go
index 5c68f7c..b017eaa 100644
--- a/pkg/apiaccess/keys_integration_test.go
+++ b/pkg/apiaccess/keys_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationAPIAccess_IngestKeys(t *testing.T) {
diff --git a/pkg/apm/apm_test.go b/pkg/apm/apm_test.go
index 2480f4a..b864b8f 100644
--- a/pkg/apm/apm_test.go
+++ b/pkg/apm/apm_test.go
@@ -5,7 +5,7 @@ import (
 	"net/http/httptest"
 	"testing"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 // nolint
diff --git a/pkg/apm/example_application_instances_test.go b/pkg/apm/example_application_instances_test.go
index 290ba00..09de31f 100644
--- a/pkg/apm/example_application_instances_test.go
+++ b/pkg/apm/example_application_instances_test.go
@@ -5,7 +5,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_application_instances() {
diff --git a/pkg/apm/example_application_test.go b/pkg/apm/example_application_test.go
index 112180c..223d53a 100644
--- a/pkg/apm/example_application_test.go
+++ b/pkg/apm/example_application_test.go
@@ -4,7 +4,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_application() {
diff --git a/pkg/apm/example_key_transaction_test.go b/pkg/apm/example_key_transaction_test.go
index aac417d..de36986 100644
--- a/pkg/apm/example_key_transaction_test.go
+++ b/pkg/apm/example_key_transaction_test.go
@@ -5,7 +5,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_keyTransaction() {
diff --git a/pkg/apm/example_labels_test.go b/pkg/apm/example_labels_test.go
index 05dac93..dae0947 100644
--- a/pkg/apm/example_labels_test.go
+++ b/pkg/apm/example_labels_test.go
@@ -5,7 +5,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_labels() {
diff --git a/pkg/apm/labels_integration_test.go b/pkg/apm/labels_integration_test.go
index 8967c21..e2253a2 100644
--- a/pkg/apm/labels_integration_test.go
+++ b/pkg/apm/labels_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationLabels(t *testing.T) {
diff --git a/pkg/cloud/cloud_api_integration_test.go b/pkg/cloud/cloud_api_integration_test.go
index ac21be6..97254df 100644
--- a/pkg/cloud/cloud_api_integration_test.go
+++ b/pkg/cloud/cloud_api_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestCloudAccount_Basic(t *testing.T) {
diff --git a/pkg/cloud/example_cloud_account_test.go b/pkg/cloud/example_cloud_account_test.go
index 1084874..68b60db 100644
--- a/pkg/cloud/example_cloud_account_test.go
+++ b/pkg/cloud/example_cloud_account_test.go
@@ -5,7 +5,7 @@ import (
 	"os"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_cloudAccounts() {
diff --git a/pkg/dashboards/dashboards_api_integration_test.go b/pkg/dashboards/dashboards_api_integration_test.go
index fc1373f..5afe48f 100644
--- a/pkg/dashboards/dashboards_api_integration_test.go
+++ b/pkg/dashboards/dashboards_api_integration_test.go
@@ -9,9 +9,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/entities"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/entities"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func newIntegrationTestClient(t *testing.T) Dashboards {
diff --git a/pkg/dashboards/dashboards_widgets_integration_test.go b/pkg/dashboards/dashboards_widgets_integration_test.go
index e68d20e..069164d 100644
--- a/pkg/dashboards/dashboards_widgets_integration_test.go
+++ b/pkg/dashboards/dashboards_widgets_integration_test.go
@@ -9,8 +9,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/entities"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/entities"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationDashboard_Billboard(t *testing.T) {
diff --git a/pkg/edge/example_trace_observer_test.go b/pkg/edge/example_trace_observer_test.go
index 352ccd5..162f9ce 100644
--- a/pkg/edge/example_trace_observer_test.go
+++ b/pkg/edge/example_trace_observer_test.go
@@ -5,7 +5,7 @@ import (
 	"os"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_trace_observer() {
diff --git a/pkg/edge/trace_observers_integration_test.go b/pkg/edge/trace_observers_integration_test.go
index c21fd0f..db11f3b 100644
--- a/pkg/edge/trace_observers_integration_test.go
+++ b/pkg/edge/trace_observers_integration_test.go
@@ -7,7 +7,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var (
diff --git a/pkg/entities/entity_integration_test.go b/pkg/entities/entity_integration_test.go
index f5ff69d..f972892 100644
--- a/pkg/entities/entity_integration_test.go
+++ b/pkg/entities/entity_integration_test.go
@@ -9,9 +9,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/internal/http"
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/internal/http"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationSearchEntities(t *testing.T) {
diff --git a/pkg/entities/example_entity_test.go b/pkg/entities/example_entity_test.go
index e5da9e4..a83c4c7 100644
--- a/pkg/entities/example_entity_test.go
+++ b/pkg/entities/example_entity_test.go
@@ -5,8 +5,8 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_entity() {
diff --git a/pkg/entities/example_tags_test.go b/pkg/entities/example_tags_test.go
index a3f1915..c53e7da 100644
--- a/pkg/entities/example_tags_test.go
+++ b/pkg/entities/example_tags_test.go
@@ -5,7 +5,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_tags() {
diff --git a/pkg/entities/tags_integration_test.go b/pkg/entities/tags_integration_test.go
index 60d204b..c21f24d 100644
--- a/pkg/entities/tags_integration_test.go
+++ b/pkg/entities/tags_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
 )
 
 func TestIntegrationListTags(t *testing.T) {
diff --git a/pkg/events/events_integration_test.go b/pkg/events/events_integration_test.go
index 90a41fd..38bb8d0 100644
--- a/pkg/events/events_integration_test.go
+++ b/pkg/events/events_integration_test.go
@@ -11,7 +11,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 const (
diff --git a/pkg/events/example_basic_test.go b/pkg/events/example_basic_test.go
index 1e0181c..457b843 100644
--- a/pkg/events/example_basic_test.go
+++ b/pkg/events/example_basic_test.go
@@ -8,7 +8,7 @@ import (
 	"os"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_basic() {
diff --git a/pkg/events/example_batch_test.go b/pkg/events/example_batch_test.go
index 8deb29e..524f57d 100644
--- a/pkg/events/example_batch_test.go
+++ b/pkg/events/example_batch_test.go
@@ -9,7 +9,7 @@ import (
 	"os"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_batch() {
diff --git a/pkg/eventstometrics/eventstometrics_integration_test.go b/pkg/eventstometrics/eventstometrics_integration_test.go
index e3b6a9e..eee46a8 100644
--- a/pkg/eventstometrics/eventstometrics_integration_test.go
+++ b/pkg/eventstometrics/eventstometrics_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationEventsToMetrics(t *testing.T) {
diff --git a/pkg/eventstometrics/example_basic_test.go b/pkg/eventstometrics/example_basic_test.go
index 05c6eb1..cda9c4e 100644
--- a/pkg/eventstometrics/example_basic_test.go
+++ b/pkg/eventstometrics/example_basic_test.go
@@ -7,7 +7,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_basic() {
diff --git a/pkg/installevents/installevents_api_integration_test.go b/pkg/installevents/installevents_api_integration_test.go
index 5e3656d..b899b25 100644
--- a/pkg/installevents/installevents_api_integration_test.go
+++ b/pkg/installevents/installevents_api_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestInstallationCreateRecipeEvent(t *testing.T) {
diff --git a/pkg/logs/example_log_batch_test.go b/pkg/logs/example_log_batch_test.go
index 0b99bc0..5bda578 100644
--- a/pkg/logs/example_log_batch_test.go
+++ b/pkg/logs/example_log_batch_test.go
@@ -9,7 +9,7 @@ import (
 	"os"
 	"time"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 const (
diff --git a/pkg/logs/example_log_test.go b/pkg/logs/example_log_test.go
index 963141c..96e9b81 100644
--- a/pkg/logs/example_log_test.go
+++ b/pkg/logs/example_log_test.go
@@ -9,7 +9,7 @@ import (
 	"os"
 	"testing"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_log(t *testing.T) {
diff --git a/pkg/logs/logs_integration_test.go b/pkg/logs/logs_integration_test.go
index 39ca6e6..36197b1 100644
--- a/pkg/logs/logs_integration_test.go
+++ b/pkg/logs/logs_integration_test.go
@@ -10,7 +10,7 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	nr "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	nr "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 type testDatum struct {
diff --git a/pkg/nerdgraph/example_query_test.go b/pkg/nerdgraph/example_query_test.go
index 0cf0c7c..94732f1 100644
--- a/pkg/nerdgraph/example_query_test.go
+++ b/pkg/nerdgraph/example_query_test.go
@@ -5,7 +5,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_query() {
diff --git a/pkg/nerdgraph/nerdgraph_integration_test.go b/pkg/nerdgraph/nerdgraph_integration_test.go
index ca6a905..d3f855b 100644
--- a/pkg/nerdgraph/nerdgraph_integration_test.go
+++ b/pkg/nerdgraph/nerdgraph_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationQuery(t *testing.T) {
diff --git a/pkg/nerdstorage/example_account_scope_test.go b/pkg/nerdstorage/example_account_scope_test.go
index fb825dc..09d4ee8 100644
--- a/pkg/nerdstorage/example_account_scope_test.go
+++ b/pkg/nerdstorage/example_account_scope_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/mitchellh/mapstructure"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 type AccountScopedDoc struct {
diff --git a/pkg/nerdstorage/example_entity_scope_test.go b/pkg/nerdstorage/example_entity_scope_test.go
index fd91865..fa7c137 100644
--- a/pkg/nerdstorage/example_entity_scope_test.go
+++ b/pkg/nerdstorage/example_entity_scope_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/mitchellh/mapstructure"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 type EntityScopedDoc struct {
diff --git a/pkg/nerdstorage/example_user_scope_test.go b/pkg/nerdstorage/example_user_scope_test.go
index 7c7ab64..a9b21b7 100644
--- a/pkg/nerdstorage/example_user_scope_test.go
+++ b/pkg/nerdstorage/example_user_scope_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/mitchellh/mapstructure"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 type UserScopedDoc struct {
diff --git a/pkg/nerdstorage/nerdstorage_integration_test.go b/pkg/nerdstorage/nerdstorage_integration_test.go
index f8ffe23..0c3a583 100644
--- a/pkg/nerdstorage/nerdstorage_integration_test.go
+++ b/pkg/nerdstorage/nerdstorage_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var (
diff --git a/pkg/notifications/channels_test.go b/pkg/notifications/channels_test.go
index a7158d1..fa65535 100644
--- a/pkg/notifications/channels_test.go
+++ b/pkg/notifications/channels_test.go
@@ -10,8 +10,8 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 var (
diff --git a/pkg/notifications/destinations_test.go b/pkg/notifications/destinations_test.go
index 7371def..d1f85d9 100644
--- a/pkg/notifications/destinations_test.go
+++ b/pkg/notifications/destinations_test.go
@@ -10,8 +10,8 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 )
 
 var (
diff --git a/pkg/notifications/notifications_integration_test.go b/pkg/notifications/notifications_integration_test.go
index 5ecd7cc..eeecb2f 100644
--- a/pkg/notifications/notifications_integration_test.go
+++ b/pkg/notifications/notifications_integration_test.go
@@ -10,9 +10,9 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestNotificationMutationDestination(t *testing.T) {
diff --git a/pkg/notifications/notifications_test.go b/pkg/notifications/notifications_test.go
index 2a2c151..3f24ad6 100644
--- a/pkg/notifications/notifications_test.go
+++ b/pkg/notifications/notifications_test.go
@@ -6,7 +6,7 @@ package notifications
 import (
 	"testing"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func newMockResponse(t *testing.T, mockJSONResponse string, statusCode int) Notifications {
diff --git a/pkg/nrdb/example_query_test.go b/pkg/nrdb/example_query_test.go
index 2c353a9..108e607 100644
--- a/pkg/nrdb/example_query_test.go
+++ b/pkg/nrdb/example_query_test.go
@@ -6,7 +6,7 @@ import (
 	"os"
 	"strconv"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_query() {
diff --git a/pkg/nrdb/nrdb_integration_test.go b/pkg/nrdb/nrdb_integration_test.go
index 3682ea1..22952ac 100644
--- a/pkg/nrdb/nrdb_integration_test.go
+++ b/pkg/nrdb/nrdb_integration_test.go
@@ -12,7 +12,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 // nolint
diff --git a/pkg/nrqldroprules/example_basic_test.go b/pkg/nrqldroprules/example_basic_test.go
index bd8498e..36d715b 100644
--- a/pkg/nrqldroprules/example_basic_test.go
+++ b/pkg/nrqldroprules/example_basic_test.go
@@ -7,7 +7,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_basic() {
diff --git a/pkg/nrqldroprules/nrqldroprules_integration_test.go b/pkg/nrqldroprules/nrqldroprules_integration_test.go
index 3374e25..9d8497f 100644
--- a/pkg/nrqldroprules/nrqldroprules_integration_test.go
+++ b/pkg/nrqldroprules/nrqldroprules_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationDropRules(t *testing.T) {
diff --git a/pkg/plugins/components_integration_test.go b/pkg/plugins/components_integration_test.go
index 6269d35..dacdb62 100644
--- a/pkg/plugins/components_integration_test.go
+++ b/pkg/plugins/components_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationComponents(t *testing.T) {
diff --git a/pkg/plugins/plugins_integration_test.go b/pkg/plugins/plugins_integration_test.go
index 9ebcd0b..f551d51 100644
--- a/pkg/plugins/plugins_integration_test.go
+++ b/pkg/plugins/plugins_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationPlugins(t *testing.T) {
diff --git a/pkg/plugins/plugins_test.go b/pkg/plugins/plugins_test.go
index d57d8ae..060c95d 100644
--- a/pkg/plugins/plugins_test.go
+++ b/pkg/plugins/plugins_test.go
@@ -12,7 +12,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 // nolint
diff --git a/pkg/synthetics/example_monitor_test.go b/pkg/synthetics/example_monitor_test.go
index 4472776..9c10e9d 100644
--- a/pkg/synthetics/example_monitor_test.go
+++ b/pkg/synthetics/example_monitor_test.go
@@ -4,7 +4,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_monitor() {
diff --git a/pkg/synthetics/example_secure_credentials_test.go b/pkg/synthetics/example_secure_credentials_test.go
index f00a2d3..2a64c1b 100644
--- a/pkg/synthetics/example_secure_credentials_test.go
+++ b/pkg/synthetics/example_secure_credentials_test.go
@@ -4,7 +4,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_secureCredentials() {
diff --git a/pkg/synthetics/monitor_locations_integration_test.go b/pkg/synthetics/monitor_locations_integration_test.go
index 702e7a2..ab56e42 100644
--- a/pkg/synthetics/monitor_locations_integration_test.go
+++ b/pkg/synthetics/monitor_locations_integration_test.go
@@ -8,7 +8,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationGetMonitorLocations(t *testing.T) {
diff --git a/pkg/synthetics/monitors_integration_test.go b/pkg/synthetics/monitors_integration_test.go
index 9fa0849..f278966 100644
--- a/pkg/synthetics/monitors_integration_test.go
+++ b/pkg/synthetics/monitors_integration_test.go
@@ -9,7 +9,7 @@ import (
 
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var (
diff --git a/pkg/synthetics/secure_credentials_integration_test.go b/pkg/synthetics/secure_credentials_integration_test.go
index 7bca82e..1459126 100644
--- a/pkg/synthetics/secure_credentials_integration_test.go
+++ b/pkg/synthetics/secure_credentials_integration_test.go
@@ -11,7 +11,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var (
diff --git a/pkg/synthetics/synthetics_api_integration_test.go b/pkg/synthetics/synthetics_api_integration_test.go
index 43f810c..4884811 100644
--- a/pkg/synthetics/synthetics_api_integration_test.go
+++ b/pkg/synthetics/synthetics_api_integration_test.go
@@ -11,7 +11,7 @@ import (
 	"fmt"
 	"os"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var tv bool = true
diff --git a/pkg/synthetics/synthetics_test.go b/pkg/synthetics/synthetics_test.go
index fc3a4c7..07485b0 100644
--- a/pkg/synthetics/synthetics_test.go
+++ b/pkg/synthetics/synthetics_test.go
@@ -11,7 +11,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 // TestError checks that messages are reported in the correct
diff --git a/pkg/testhelpers/config.go b/pkg/testhelpers/config.go
index 5605827..47f4b0b 100644
--- a/pkg/testhelpers/config.go
+++ b/pkg/testhelpers/config.go
@@ -8,8 +8,8 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
-	"github.com/newrelic/newrelic-client-go/pkg/region"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/region"
 )
 
 const (
diff --git a/pkg/users/example_users_test.go b/pkg/users/example_users_test.go
index 10197ad..43ffe97 100644
--- a/pkg/users/example_users_test.go
+++ b/pkg/users/example_users_test.go
@@ -4,7 +4,7 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_accounts() {
diff --git a/pkg/users/users_integration_test.go b/pkg/users/users_integration_test.go
index c773cea..a0d97e5 100644
--- a/pkg/users/users_integration_test.go
+++ b/pkg/users/users_integration_test.go
@@ -9,7 +9,7 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationUsers(t *testing.T) {
diff --git a/pkg/workflows/workflows_integration_test.go b/pkg/workflows/workflows_integration_test.go
index d52e555..639f808 100644
--- a/pkg/workflows/workflows_integration_test.go
+++ b/pkg/workflows/workflows_integration_test.go
@@ -5,14 +5,14 @@ package workflows
 
 import (
 	"fmt"
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
 	"testing"
 
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/notifications"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/notifications"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationCreateWorkflow(t *testing.T) {
diff --git a/pkg/workflows/workflows_test.go b/pkg/workflows/workflows_test.go
index f7b2533..30ca749 100644
--- a/pkg/workflows/workflows_test.go
+++ b/pkg/workflows/workflows_test.go
@@ -6,8 +6,8 @@ package workflows
 import (
 	"testing"
 
-	"github.com/newrelic/newrelic-client-go/pkg/notifications"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/notifications"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func newIntegrationTestClient(t *testing.T) Workflows {
diff --git a/pkg/workflows/workflows_unit_test.go b/pkg/workflows/workflows_unit_test.go
index a03d2f5..5a902fc 100644
--- a/pkg/workflows/workflows_unit_test.go
+++ b/pkg/workflows/workflows_unit_test.go
@@ -10,10 +10,10 @@ import (
 
 	"github.com/stretchr/testify/assert"
 
-	"github.com/newrelic/newrelic-client-go/pkg/ai"
-	"github.com/newrelic/newrelic-client-go/pkg/nrtime"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/ai"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/nrtime"
 
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 var (
diff --git a/pkg/workloads/example_basic_test.go b/pkg/workloads/example_basic_test.go
index a25f467..33a0e51 100644
--- a/pkg/workloads/example_basic_test.go
+++ b/pkg/workloads/example_basic_test.go
@@ -8,8 +8,8 @@ import (
 	"log"
 	"os"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	"github.com/newrelic/newrelic-client-go/pkg/config"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/config"
 )
 
 func Example_basic() {
diff --git a/pkg/workloads/workloads_api_integration_test.go b/pkg/workloads/workloads_api_integration_test.go
index 016dcc0..b58d64c 100644
--- a/pkg/workloads/workloads_api_integration_test.go
+++ b/pkg/workloads/workloads_api_integration_test.go
@@ -10,8 +10,8 @@ import (
 	"github.com/stretchr/testify/assert"
 	"github.com/stretchr/testify/require"
 
-	"github.com/newrelic/newrelic-client-go/pkg/common"
-	mock "github.com/newrelic/newrelic-client-go/pkg/testhelpers"
+	"github.com/newrelic/newrelic-client-go/v2/pkg/common"
+	mock "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers"
 )
 
 func TestIntegrationWorkloadCreate(t *testing.T) {