Skip to content

Commit

Permalink
rename value
Browse files Browse the repository at this point in the history
Signed-off-by: SammyOina <sammyoina@gmail.com>
  • Loading branch information
SammyOina committed May 29, 2023
1 parent 59c2821 commit 77b4a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumers/tracing/consumers.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func createMessageSpan(ctx context.Context, tracer opentracing.Tracer, topic, su
span, ctx := opentracing.StartSpanFromContextWithTracer(ctx, tracer, operation, ext.SpanKindConsumer)
span.SetTag("topic", topic)
if subTopic != "" {
span.SetTag("sub-topic", subTopic)
span.SetTag("subtopic", subTopic)
}
span.SetTag("publisher", publisher)
span.SetTag("number_of_messages", noMessages)
Expand Down

0 comments on commit 77b4a38

Please sign in to comment.