Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into arbll/bootstrapper-mod
Browse files Browse the repository at this point in the history
  • Loading branch information
arbll committed Nov 29, 2024
2 parents 324c530 + ae10a85 commit 412fa3e
Show file tree
Hide file tree
Showing 215 changed files with 3,688 additions and 1,655 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/Makefile.trace @DataDog/agent-delivery

/mkdocs.yml @DataDog/agent-devx-infra
/release.json @DataDog/agent-delivery @DataDog/agent-metrics-logs @DataDog/windows-kernel-integrations @DataDog/agent-release-management @DataDog/agent-security
/release.json @DataDog/agent-delivery @DataDog/agent-metrics-logs @DataDog/windows-kernel-integrations @DataDog/agent-security
/requirements.txt @DataDog/agent-devx-infra
/pyproject.toml @DataDog/agent-devx-infra @DataDog/agent-devx-loops
/repository.datadog.yml @DataDog/agent-devx-infra
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/kernel_matrix_testing/security_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ kmt_run_secagent_tests_arm64_fentry:
parallel:
matrix:
- TAG:
- "amazon_2023"
- "ubuntu_24.04"
TEST_SET: [cws_fentry]
after_script:
- !reference [.collect_outcomes_kmt]
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ To build the Agent you need:
**Note:** you may want to use a python virtual environment to avoid polluting your
system-wide python environment with the agent build/dev dependencies. You can
create a virtual environment using `virtualenv` and then use the `invoke agent.build`
parameters `--python-home-2=<venv_path>` and/or `--python-home-3=<venv_path>`
(depending on the python versions you are using) to use the virtual environment's
parameters `--python-home-3=<venv_path>` to use the virtual environment's
interpreter and libraries. By default, this environment is only used for dev dependencies
listed in `requirements.txt`.

Expand All @@ -55,7 +54,6 @@ To start working on the Agent, you can build the `main` branch:
virtualenvs):

invoke agent.build \
--python-home-2=$GOPATH/src/github.com/DataDog/datadog-agent/venv2 \
--python-home-3=$GOPATH/src/github.com/DataDog/datadog-agent/venv3

Running `invoke agent.build`:
Expand Down
4 changes: 2 additions & 2 deletions cmd/agent/subcommands/run/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ import (
dogstatsdStatusimpl "github.com/DataDog/datadog-agent/comp/dogstatsd/status/statusimpl"
"github.com/DataDog/datadog-agent/comp/forwarder"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformfx "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
orchestratorForwarderImpl "github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
langDetectionCl "github.com/DataDog/datadog-agent/comp/languagedetection/client"
Expand Down Expand Up @@ -424,7 +424,7 @@ func getSharedFxOption() fx.Option {
langDetectionClimpl.Module(),
metadata.Bundle(),
orchestratorForwarderImpl.Module(orchestratorForwarderImpl.NewDefaultParams()),
eventplatformfx.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDefaultParams()),
eventplatformreceiverimpl.Module(),

// injecting the shared Serializer to FX until we migrate it to a proper component. This allows other
Expand Down
34 changes: 34 additions & 0 deletions cmd/agent/subcommands/secret/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package secret

import (
"fmt"
"time"

"github.com/spf13/cobra"
"go.uber.org/fx"
Expand Down Expand Up @@ -68,14 +69,47 @@ func showSecretInfo(config config.Component, _ log.Component) error {
}

func secretRefresh(config config.Component, _ log.Component) error {
fmt.Println("Agent refresh:")
res, err := callIPCEndpoint(config, "agent/secret/refresh")
if err != nil {
return err
}
fmt.Println(string(res))

if config.GetBool("apm_config.enabled") {
fmt.Println("APM agent refresh:")
res, err = traceAgentSecretRefresh(config)
if err != nil {
return err
}
fmt.Println(string(res))
}
return nil
}

func traceAgentSecretRefresh(conf config.Component) ([]byte, error) {
err := apiutil.SetAuthToken(conf)
if err != nil {
return nil, err
}

port := conf.GetInt("apm_config.debug.port")
if port <= 0 {
return nil, fmt.Errorf("invalid apm_config.debug.port -- %d", port)
}

c := apiutil.GetClient(false)
c.Timeout = conf.GetDuration("server_timeout") * time.Second

url := fmt.Sprintf("http://127.0.0.1:%d/secret/refresh", port)
res, err := apiutil.DoGet(c, url, apiutil.CloseConnection)
if err != nil {
return nil, fmt.Errorf("could not contact trace-agent: %s", err)
}

return res, nil
}

func callIPCEndpoint(config config.Component, endpointURL string) ([]byte, error) {
endpoint, err := apiutil.NewIPCEndpoint(config, endpointURL)
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions cmd/agent/subcommands/snmp/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
nooptagger "github.com/DataDog/datadog-agent/comp/core/tagger/fx-noop"
"github.com/DataDog/datadog-agent/comp/forwarder"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformfx "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
haagentfx "github.com/DataDog/datadog-agent/comp/haagent/fx"
Expand Down Expand Up @@ -97,7 +97,7 @@ func Commands(globalParams *command.GlobalParams) []*cobra.Command {
demultiplexerimpl.Module(demultiplexerimpl.NewDefaultParams()),
forwarder.Bundle(defaultforwarder.NewParams(defaultforwarder.WithFeatures(defaultforwarder.CoreFeatures))),
orchestratorimpl.Module(orchestratorimpl.NewDefaultParams()),
eventplatformfx.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDefaultParams()),
compressionfx.Module(),
nooptagger.Module(),
eventplatformreceiverimpl.Module(),
Expand Down Expand Up @@ -160,7 +160,7 @@ func Commands(globalParams *command.GlobalParams) []*cobra.Command {
aggregator.Bundle(demultiplexerimpl.NewDefaultParams()),
orchestratorimpl.Module(orchestratorimpl.NewDefaultParams()),
forwarder.Bundle(defaultforwarder.NewParams(defaultforwarder.WithFeatures(defaultforwarder.CoreFeatures))),
eventplatformfx.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDefaultParams()),
eventplatformreceiverimpl.Module(),
compressionfx.Module(),
nooptagger.Module(),
Expand Down
4 changes: 2 additions & 2 deletions cmd/cluster-agent-cloudfoundry/subcommands/run/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import (
workloadmetafx "github.com/DataDog/datadog-agent/comp/core/workloadmeta/fx"
"github.com/DataDog/datadog-agent/comp/forwarder"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformfxnoop "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
orchestratorForwarderImpl "github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
haagentfx "github.com/DataDog/datadog-agent/comp/haagent/fx"
Expand Down Expand Up @@ -89,7 +89,7 @@ func Commands(globalParams *command.GlobalParams) []*cobra.Command {
compressionfx.Module(),
demultiplexerimpl.Module(demultiplexerimpl.NewDefaultParams()),
orchestratorForwarderImpl.Module(orchestratorForwarderImpl.NewDisabledParams()),
eventplatformfxnoop.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDisabledParams()),
eventplatformreceiverimpl.Module(),

// setup workloadmeta
Expand Down
27 changes: 23 additions & 4 deletions cmd/cluster-agent/admission/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ import (
"github.com/cihub/seelog"
admiv1 "k8s.io/api/admission/v1"
admiv1beta1 "k8s.io/api/admission/v1beta1"
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
authenticationv1 "k8s.io/api/authentication/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/dynamic"
"k8s.io/client-go/kubernetes"

Expand All @@ -40,14 +43,22 @@ const jsonContentType = "application/json"

// Request contains the information of an admission request
type Request struct {
// Raw is the raw request object
Raw []byte
// UID is the unique identifier of the AdmissionRequest
UID types.UID
// Name is the name of the object
Name string
// Namespace is the namespace of the object
Namespace string
// Kind is the kind of the object
Kind metav1.GroupVersionKind
// Operation is the operation of the request
Operation admissionregistrationv1.OperationType
// UserInfo contains information about the requesting user
UserInfo *authenticationv1.UserInfo
// Object is the new object being admitted. It is null for DELETE operations
Object []byte
// OldObject is the existing object. It is null for CREATE and CONNECT operations
OldObject []byte
// DynamicClient holds a dynamic Kubernetes client
DynamicClient dynamic.Interface
// APIClient holds a Kubernetes client
Expand Down Expand Up @@ -190,10 +201,14 @@ func (s *Server) handle(w http.ResponseWriter, r *http.Request, webhookName stri
admissionReview := &admiv1.AdmissionReview{}
admissionReview.SetGroupVersionKind(*gvk)
admissionRequest := Request{
Raw: admissionReviewReq.Request.Object.Raw,
UID: admissionReviewReq.Request.UID,
Kind: admissionReviewReq.Request.Kind,
Name: admissionReviewReq.Request.Name,
Namespace: admissionReviewReq.Request.Namespace,
Operation: admissionregistrationv1.OperationType(admissionReviewReq.Request.Operation),
UserInfo: &admissionReviewReq.Request.UserInfo,
Object: admissionReviewReq.Request.Object.Raw,
OldObject: admissionReviewReq.Request.OldObject.Raw,
DynamicClient: dc,
APIClient: apiClient,
}
Expand All @@ -212,10 +227,14 @@ func (s *Server) handle(w http.ResponseWriter, r *http.Request, webhookName stri
admissionReview := &admiv1beta1.AdmissionReview{}
admissionReview.SetGroupVersionKind(*gvk)
admissionRequest := Request{
Raw: admissionReviewReq.Request.Object.Raw,
UID: admissionReviewReq.Request.UID,
Kind: admissionReviewReq.Request.Kind,
Name: admissionReviewReq.Request.Name,
Namespace: admissionReviewReq.Request.Namespace,
Operation: admissionregistrationv1.OperationType(admissionReviewReq.Request.Operation),
UserInfo: &admissionReviewReq.Request.UserInfo,
Object: admissionReviewReq.Request.Object.Raw,
OldObject: admissionReviewReq.Request.OldObject.Raw,
DynamicClient: dc,
APIClient: apiClient,
}
Expand Down
5 changes: 3 additions & 2 deletions cmd/cluster-agent/subcommands/start/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import (
workloadmetafx "github.com/DataDog/datadog-agent/comp/core/workloadmeta/fx"
"github.com/DataDog/datadog-agent/comp/forwarder"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformfxnoop "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
orchestratorForwarderImpl "github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
haagentfx "github.com/DataDog/datadog-agent/comp/haagent/fx"
Expand Down Expand Up @@ -141,7 +141,7 @@ func Commands(globalParams *command.GlobalParams) []*cobra.Command {
compressionfx.Module(),
demultiplexerimpl.Module(demultiplexerimpl.NewDefaultParams()),
orchestratorForwarderImpl.Module(orchestratorForwarderImpl.NewDefaultParams()),
eventplatformfxnoop.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDisabledParams()),
eventplatformreceiverimpl.Module(),
// setup workloadmeta
wmcatalog.GetCatalog(),
Expand Down Expand Up @@ -479,6 +479,7 @@ func start(log log.Component,
Client: apiCl.Cl,
StopCh: stopCh,
ValidatingStopCh: validatingStopCh,
Demultiplexer: demultiplexer,
}

webhooks, err := admissionpkg.StartControllers(admissionCtx, wmeta, pa, datadogConfig)
Expand Down
4 changes: 2 additions & 2 deletions cmd/dogstatsd/subcommands/start/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
dogstatsdServer "github.com/DataDog/datadog-agent/comp/dogstatsd/server"
"github.com/DataDog/datadog-agent/comp/forwarder"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformfxnoop "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-noop"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
orchestratorForwarderImpl "github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
haagentfx "github.com/DataDog/datadog-agent/comp/haagent/fx"
Expand Down Expand Up @@ -149,7 +149,7 @@ func RunDogstatsdFct(cliParams *CLIParams, defaultConfPath string, defaultLogFil
)),
secretsimpl.Module(),
orchestratorForwarderImpl.Module(orchestratorForwarderImpl.NewDisabledParams()),
eventplatformfxnoop.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDisabledParams()),
eventplatformreceiverimpl.Module(),
hostnameimpl.Module(),
localTaggerfx.Module(tagger.Params{}),
Expand Down
2 changes: 2 additions & 0 deletions cmd/otel-agent/subcommands/run/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"github.com/DataDog/datadog-agent/comp/core/hostname/remotehostnameimpl"
log "github.com/DataDog/datadog-agent/comp/core/log/def"
logtracefx "github.com/DataDog/datadog-agent/comp/core/log/fx-trace"
"github.com/DataDog/datadog-agent/comp/core/secrets"
tagger "github.com/DataDog/datadog-agent/comp/core/tagger/def"
remoteTaggerFx "github.com/DataDog/datadog-agent/comp/core/tagger/fx-remote"
taggerTypes "github.com/DataDog/datadog-agent/comp/core/tagger/types"
Expand Down Expand Up @@ -137,6 +138,7 @@ func runOTelAgentCommand(ctx context.Context, params *subcommands.GlobalParams,
return acfg, nil
}),
fxutil.ProvideOptional[coreconfig.Component](),
fxutil.ProvideNoneOptional[secrets.Component](),
workloadmetafx.Module(workloadmeta.Params{
AgentType: workloadmeta.NodeAgent,
InitHelper: common.GetWorkloadmetaInit(),
Expand Down
4 changes: 2 additions & 2 deletions cmd/process-agent/command/main_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
workloadmeta "github.com/DataDog/datadog-agent/comp/core/workloadmeta/def"
workloadmetafx "github.com/DataDog/datadog-agent/comp/core/workloadmeta/fx"
compstatsd "github.com/DataDog/datadog-agent/comp/dogstatsd/statsd"
eventplatformfx "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
hostMetadataUtils "github.com/DataDog/datadog-agent/comp/metadata/host/hostimpl/utils"
"github.com/DataDog/datadog-agent/comp/networkpath"
Expand Down Expand Up @@ -134,7 +134,7 @@ func runApp(ctx context.Context, globalParams *GlobalParams) error {
process.Bundle(),

eventplatformreceiverimpl.Module(),
eventplatformfx.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDefaultParams()),

// Provides the rdnssquerier module
rdnsquerierfx.Module(),
Expand Down
4 changes: 2 additions & 2 deletions cmd/process-agent/subcommands/check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
wmcatalog "github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog"
workloadmeta "github.com/DataDog/datadog-agent/comp/core/workloadmeta/def"
workloadmetafx "github.com/DataDog/datadog-agent/comp/core/workloadmeta/fx"
eventplatformfx "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatformreceiver/eventplatformreceiverimpl"
hostMetadataUtils "github.com/DataDog/datadog-agent/comp/metadata/host/hostimpl/utils"
"github.com/DataDog/datadog-agent/comp/networkpath/npcollector"
Expand Down Expand Up @@ -127,7 +127,7 @@ func MakeCommand(globalParamsGetter func() *command.GlobalParams, name string, a

// Provide eventplatformimpl module
eventplatformreceiverimpl.Module(),
eventplatformfx.Module(),
eventplatformimpl.Module(eventplatformimpl.NewDefaultParams()),

// Provide rdnsquerier module
rdnsquerierfx.Module(),
Expand Down
3 changes: 2 additions & 1 deletion cmd/serverless-init/metric/metric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (

"github.com/DataDog/datadog-agent/comp/aggregator/demultiplexer"
"github.com/DataDog/datadog-agent/comp/aggregator/demultiplexer/demultiplexerimpl"
"github.com/DataDog/datadog-agent/comp/core/hostname/hostnameimpl"
log "github.com/DataDog/datadog-agent/comp/core/log/def"
logmock "github.com/DataDog/datadog-agent/comp/core/log/mock"
compressionmock "github.com/DataDog/datadog-agent/comp/serializer/compression/fx-mock"
Expand Down Expand Up @@ -64,5 +65,5 @@ func TestAddShutdownMetric(t *testing.T) {
}

func createDemultiplexer(t *testing.T) demultiplexer.FakeSamplerMock {
return fxutil.Test[demultiplexer.FakeSamplerMock](t, fx.Provide(func() log.Component { return logmock.New(t) }), compressionmock.MockModule(), demultiplexerimpl.FakeSamplerMockModule())
return fxutil.Test[demultiplexer.FakeSamplerMock](t, fx.Provide(func() log.Component { return logmock.New(t) }), compressionmock.MockModule(), demultiplexerimpl.FakeSamplerMockModule(), hostnameimpl.MockModule())
}
1 change: 1 addition & 0 deletions cmd/system-probe/config/adjust_usm.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func adjustUSM(cfg model.Config) {
deprecateBool(cfg, netNS("enable_http_monitoring"), smNS("enable_http_monitoring"))
deprecateBool(cfg, netNS("enable_https_monitoring"), smNS("tls", "native", "enabled"))
deprecateBool(cfg, smNS("enable_go_tls_support"), smNS("tls", "go", "enabled"))
applyDefault(cfg, smNS("tls", "go", "enabled"), true)
deprecateGeneric(cfg, netNS("http_replace_rules"), smNS("http_replace_rules"))
deprecateInt64(cfg, netNS("max_tracked_http_connections"), smNS("max_tracked_http_connections"))
applyDefault(cfg, smNS("max_tracked_http_connections"), 1024)
Expand Down
4 changes: 2 additions & 2 deletions comp/agent/bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
workloadmeta "github.com/DataDog/datadog-agent/comp/core/workloadmeta/def"
workloadmetafxmock "github.com/DataDog/datadog-agent/comp/core/workloadmeta/fx-mock"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformmock "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-mock"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
"github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
compressionmock "github.com/DataDog/datadog-agent/comp/serializer/compression/fx-mock"
"github.com/DataDog/datadog-agent/pkg/util/fxutil"
Expand All @@ -27,7 +27,7 @@ func TestBundleDependencies(t *testing.T) {
compressionmock.MockModule(),
defaultforwarder.MockModule(),
orchestratorimpl.MockModule(),
eventplatformmock.MockModule(),
eventplatformimpl.MockModule(),
demultiplexerimpl.Module(demultiplexerimpl.NewDefaultParams()),
workloadmetafxmock.MockModule(workloadmeta.NewParams()),
)
Expand Down
4 changes: 2 additions & 2 deletions comp/aggregator/bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/DataDog/datadog-agent/comp/core"
nooptagger "github.com/DataDog/datadog-agent/comp/core/tagger/fx-noop"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatformmock "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/fx-mock"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/eventplatformimpl"
orchestratorForwarderImpl "github.com/DataDog/datadog-agent/comp/forwarder/orchestrator/orchestratorimpl"
haagentmock "github.com/DataDog/datadog-agent/comp/haagent/mock"
compressionmock "github.com/DataDog/datadog-agent/comp/serializer/compression/fx-mock"
Expand All @@ -25,7 +25,7 @@ func TestBundleDependencies(t *testing.T) {
compressionmock.MockModule(),
defaultforwarder.MockModule(),
orchestratorForwarderImpl.MockModule(),
eventplatformmock.MockModule(),
eventplatformimpl.MockModule(),
nooptagger.Module(),
haagentmock.Module(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/DataDog/datadog-agent/comp/core/status"
tagger "github.com/DataDog/datadog-agent/comp/core/tagger/def"
"github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder"
eventplatform "github.com/DataDog/datadog-agent/comp/forwarder/eventplatform/def"
"github.com/DataDog/datadog-agent/comp/forwarder/eventplatform"
orchestratorforwarder "github.com/DataDog/datadog-agent/comp/forwarder/orchestrator"
haagent "github.com/DataDog/datadog-agent/comp/haagent/def"
compression "github.com/DataDog/datadog-agent/comp/serializer/compression/def"
Expand Down
Loading

0 comments on commit 412fa3e

Please sign in to comment.