Skip to content

Commit

Permalink
Use AzureContainerAppTags for azure tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
purple4reina committed Nov 4, 2024
1 parent 544a1c6 commit f5f0af6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions pkg/trace/api/profiles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f5f0af6

Please sign in to comment.