From 710aff75073ef076f0607a76bd00f0a3348265c8 Mon Sep 17 00:00:00 2001 From: Ken Schneider Date: Wed, 16 Oct 2024 11:05:54 -0400 Subject: [PATCH] add rdnsquerier to main process-agent --- cmd/process-agent/command/main_common.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/process-agent/command/main_common.go b/cmd/process-agent/command/main_common.go index cd0fc37d6cb33..7379360fca040 100644 --- a/cmd/process-agent/command/main_common.go +++ b/cmd/process-agent/command/main_common.go @@ -49,6 +49,7 @@ import ( "github.com/DataDog/datadog-agent/comp/process/profiler" "github.com/DataDog/datadog-agent/comp/process/status/statusimpl" "github.com/DataDog/datadog-agent/comp/process/types" + rdnsquerierfx "github.com/DataDog/datadog-agent/comp/rdnsquerier/fx" remoteconfig "github.com/DataDog/datadog-agent/comp/remote-config" "github.com/DataDog/datadog-agent/comp/remote-config/rcclient" "github.com/DataDog/datadog-agent/pkg/collector/python" @@ -128,6 +129,9 @@ func runApp(ctx context.Context, globalParams *GlobalParams) error { // Provide process agent bundle so fx knows where to find components process.Bundle(), + // Provide rdnsquerier module + rdnsquerierfx.Module(), + eventplatformreceiverimpl.Module(), eventplatformimpl.Module(eventplatformimpl.NewDefaultParams()),