From eba9651907d99839e59d54d915359caec29b0835 Mon Sep 17 00:00:00 2001 From: Paul Coignet Date: Wed, 8 Apr 2026 14:43:37 +0200 Subject: [PATCH 1/2] Add cluster_name as tag --- pkg/remoteconfig/updater.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/remoteconfig/updater.go b/pkg/remoteconfig/updater.go index bca9c5e92d..7cb60d3b1a 100644 --- a/pkg/remoteconfig/updater.go +++ b/pkg/remoteconfig/updater.go @@ -186,9 +186,13 @@ func (r *RemoteConfigUpdater) Start(apiKey string, site string, clusterName stri } r.rcService = rcService + updaterTags := []string{} + if r.serviceConf.clusterName != "" { + updaterTags = append(updaterTags, "cluster_name:"+r.serviceConf.clusterName) + } rcClient, err := client.NewClient( rcService, - client.WithUpdater(), + client.WithUpdater(updaterTags...), client.WithProducts(state.ProductAgentConfig, state.ProductOrchestratorK8sCRDs), client.WithDirectorRootOverride(r.serviceConf.cfg.GetString("site"), r.serviceConf.cfg.GetString("remote_configuration.director_root")), client.WithPollInterval(pollInterval), From 2f07b9c93793658ed1575b1a74fa1579135dc8d3 Mon Sep 17 00:00:00 2001 From: Paul Coignet Date: Wed, 8 Apr 2026 15:39:32 +0200 Subject: [PATCH 2/2] Add updater_type --- pkg/remoteconfig/updater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/remoteconfig/updater.go b/pkg/remoteconfig/updater.go index 7cb60d3b1a..767022b4d8 100644 --- a/pkg/remoteconfig/updater.go +++ b/pkg/remoteconfig/updater.go @@ -186,7 +186,7 @@ func (r *RemoteConfigUpdater) Start(apiKey string, site string, clusterName stri } r.rcService = rcService - updaterTags := []string{} + updaterTags := []string{"updater_type:datadog-operator"} if r.serviceConf.clusterName != "" { updaterTags = append(updaterTags, "cluster_name:"+r.serviceConf.clusterName) }