File tree Expand file tree Collapse file tree 18 files changed +33
-31
lines changed
Expand file tree Collapse file tree 18 files changed +33
-31
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ import (
2626 "github.com/spf13/cobra"
2727 "github.com/spf13/pflag"
2828 "go.uber.org/zap/zapcore"
29- "github.com/GoogleCloudPlatform/sapagent/shared/gce/metadataserver"
30- "github.com/GoogleCloudPlatform/sapagent/shared/log"
3129 "github.com/GoogleCloudPlatform/workloadagent/internal/daemon"
3230 "github.com/GoogleCloudPlatform/workloadagent/internal/onetime/logusage"
3331 "github.com/GoogleCloudPlatform/workloadagent/internal/onetime"
3432 "github.com/GoogleCloudPlatform/workloadagent/internal/onetime/version"
33+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/gce/metadataserver"
34+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
3535
3636 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
3737)
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ import (
2323 "time"
2424
2525 "github.com/shirou/gopsutil/v3/process"
26- "github.com/GoogleCloudPlatform/sapagent/shared/commandlineexecutor"
27- "github.com/GoogleCloudPlatform/sapagent/shared/log"
2826 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
27+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/commandlineexecutor"
28+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
2929)
3030
3131const (
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import (
2828 "google.golang.org/protobuf/encoding/protojson"
2929 "google.golang.org/protobuf/proto"
3030 "go.uber.org/zap/zapcore"
31- "github.com/GoogleCloudPlatform/sapagent/shared/log"
3231 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
32+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
3333
3434 dpb "google.golang.org/protobuf/types/known/durationpb"
3535 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ import (
2626 "time"
2727
2828 "github.com/spf13/cobra"
29- "github.com/GoogleCloudPlatform/sapagent/shared/log"
30- "github.com/GoogleCloudPlatform/sapagent/shared/recovery"
3129 "github.com/GoogleCloudPlatform/workloadagent/internal/commondiscovery"
3230 "github.com/GoogleCloudPlatform/workloadagent/internal/daemon/configuration"
3331 "github.com/GoogleCloudPlatform/workloadagent/internal/daemon/mysql"
3432 "github.com/GoogleCloudPlatform/workloadagent/internal/daemon/oracle"
3533 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
34+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
35+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/recovery"
3636
3737 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
3838)
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ import (
2121 "context"
2222 "time"
2323
24- "github.com/GoogleCloudPlatform/sapagent/shared/log"
25- "github.com/GoogleCloudPlatform/sapagent/shared/recovery"
2624 "github.com/GoogleCloudPlatform/workloadagent/internal/commondiscovery"
2725 "github.com/GoogleCloudPlatform/workloadagent/internal/mysqldiscovery"
2826 "github.com/GoogleCloudPlatform/workloadagent/internal/mysqlmetrics"
2927 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
3028 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
29+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
30+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/recovery"
3131)
3232
3333// Service implements the interfaces for MySQL workload agent service.
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ import (
2424 "slices"
2525 "time"
2626
27- "github.com/GoogleCloudPlatform/sapagent/shared/log"
28- "github.com/GoogleCloudPlatform/sapagent/shared/recovery"
2927 "github.com/GoogleCloudPlatform/workloadagent/internal/commondiscovery"
3028 "github.com/GoogleCloudPlatform/workloadagent/internal/oraclediscovery"
3129 "github.com/GoogleCloudPlatform/workloadagent/internal/oraclemetrics"
3230 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
3331 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
3432 odpb "github.com/GoogleCloudPlatform/workloadagent/protos/oraclediscovery"
33+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
34+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/recovery"
3535)
3636
3737// Service implements the interfaces for Oracle workload agent service.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ package mysqldiscovery
2020import (
2121 "context"
2222
23- "github.com/GoogleCloudPlatform/sapagent /shared/log"
23+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common /shared/log"
2424)
2525
2626// Discover runs the MySQL discovery routine.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ package mysqlmetrics
2020import (
2121 "context"
2222
23- "github.com/GoogleCloudPlatform/sapagent /shared/log"
23+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common /shared/log"
2424)
2525
2626// CollectMetricsOnce collects metrics for MySQL databases running on the host.
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ import (
2121 "fmt"
2222
2323 "github.com/spf13/cobra"
24- "github.com/GoogleCloudPlatform/sapagent/shared/log"
2524 "github.com/GoogleCloudPlatform/workloadagent/internal/daemon/configuration"
2625 "github.com/GoogleCloudPlatform/workloadagent/internal/onetime"
2726 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
27+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
2828
2929 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
3030)
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ import (
2626 "github.com/spf13/cobra"
2727 "github.com/spf13/pflag"
2828 "go.uber.org/zap/zapcore"
29- "github.com/GoogleCloudPlatform/sapagent/shared/log"
3029 "github.com/GoogleCloudPlatform/workloadagent/internal/daemon/configuration"
3130 "github.com/GoogleCloudPlatform/workloadagent/internal/usagemetrics"
3231 cpb "github.com/GoogleCloudPlatform/workloadagent/protos/configuration"
32+ "github.com/GoogleCloudPlatform/workloadagentplatform/integration/common/shared/log"
3333)
3434
3535type (
You can’t perform that action at this time.
0 commit comments