Skip to content

Commit d67c45b

Browse files
committed
fix(tracing): use imp.agent tracer name in SpanFromVM
1 parent 76b0e44 commit d67c45b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/tracing/tracing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func SpanFromVM(ctx context.Context, vm *impdevv1alpha1.ImpVM, spanName string,
2121
"tracestate": vm.Annotations["imp.dev/trace-state"],
2222
}
2323
remoteCtx := otel.GetTextMapPropagator().Extract(ctx, carrier)
24-
return otel.Tracer("imp").Start(remoteCtx, spanName, opts...)
24+
return otel.Tracer("imp.agent").Start(remoteCtx, spanName, opts...)
2525
}
2626

2727
// InjectToVM injects the current trace context from ctx into vm's annotations.

0 commit comments

Comments
 (0)