Skip to content

Commit

Permalink
wathola receiver, annotate span by step number (#7667)
Browse files Browse the repository at this point in the history
wathole receiver, annotate span by step number
  • Loading branch information
maschmid authored Feb 12, 2024
1 parent 6f2eaed commit 03ed4ab
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 03ed4ab

Please sign in to comment.