From 6a4bfe9f7adb256340b9cfce01e56bccf2e20266 Mon Sep 17 00:00:00 2001 From: Rey Abolofia Date: Mon, 4 Nov 2024 13:28:19 -0800 Subject: [PATCH] Use AzureContainerAppTags for azure tags. --- pkg/trace/api/profiles_test.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pkg/trace/api/profiles_test.go b/pkg/trace/api/profiles_test.go index b11b162deaf9f3..2727b76be02d48 100644 --- a/pkg/trace/api/profiles_test.go +++ b/pkg/trace/api/profiles_test.go @@ -323,15 +323,7 @@ func TestProfileProxyHandler(t *testing.T) { })) conf := newTestReceiverConfig() conf.ProfilingProxy = config.ProfilingProxyConfig{DDURL: srv.URL} - conf.GlobalTags = map[string]string{ - "subscription_id": "123", - "resource_group": "test-rg", - "resource_id": "456", - "aca.subscription.id": "123", - "aca.resource.group": "test-rg", - "aca.resource.id": "456", - "aca.replica.name": "test-replica", - } + conf.AzureContainerAppTags = ",subscription_id:123,resource_group:test-rg,resource_id:456,aca.subscription.id:123,aca.resource.group:test-rg,aca.resource.id:456,aca.replica.name:test-replica" req, err := http.NewRequest("POST", "/some/path", nil) if err != nil { t.Fatal(err)