From 8e0f1346d14afc6df5e12fc4288c976246af6ea4 Mon Sep 17 00:00:00 2001 From: Duncan Harvey <35278470+duncanpharvey@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:18:18 -0500 Subject: [PATCH] Add Back Tags to Spans Sent from Serverless-Init (#30813) --- cmd/serverless-init/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/serverless-init/main.go b/cmd/serverless-init/main.go index 8540768bb1ca7..f1ae1daff5438 100644 --- a/cmd/serverless-init/main.go +++ b/cmd/serverless-init/main.go @@ -177,6 +177,7 @@ func setupTraceAgent(tags map[string]string, tagger tagger.Component) trace.Serv ColdStartSpanID: random.Random.Uint64(), AzureContainerAppTags: azureTags.String(), }) + traceAgent.SetTags(tags) go func() { for range time.Tick(3 * time.Second) { traceAgent.Flush()