Skip to content

Commit

Permalink
[release-v1.11] backport receiver trace step annotation (knative#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
maschmid authored Feb 20, 2024
1 parent a0023b1 commit e0570d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/upgrade/prober/wathola/receiver/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e0570d8

Please sign in to comment.