From fb9115c692bee740eed06e2b44034e7e377c0958 Mon Sep 17 00:00:00 2001 From: Marek Schmidt Date: Thu, 15 Feb 2024 17:17:33 +0100 Subject: [PATCH] [release-v1.11] backport receiver trace step annotation --- test/upgrade/prober/wathola/receiver/services.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/upgrade/prober/wathola/receiver/services.go b/test/upgrade/prober/wathola/receiver/services.go index 7a4861492c5..d5af55dbef3 100644 --- a/test/upgrade/prober/wathola/receiver/services.go +++ b/test/upgrade/prober/wathola/receiver/services.go @@ -70,6 +70,7 @@ func (r receiver) receiveEvent(ctx context.Context, e cloudevents.Event) { if err != nil { log.Fatal(err) } + span.AddAttributes(trace.Int64Attribute("step", int64(step.Number))) r.step.RegisterStep(step) } if t == event.FinishedType {