From 1e9abb9905e81860561c0022ad70ce9be904e55c Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sat, 16 Mar 2024 23:59:36 +0300 Subject: [PATCH] fixup tracing Signed-off-by: Vasiliy Tolstov --- opentracing.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opentracing.go b/opentracing.go index 8e930b7..d569e05 100644 --- a/opentracing.go +++ b/opentracing.go @@ -76,6 +76,8 @@ func (t *otTracer) Start(ctx context.Context, name string, opts ...tracer.SpanOp } } + sp.AddLabels(options.Labels) + return tracer.NewSpanContext(ctx, sp), sp }