code: def trace_decorator(self):
          
  
          def decorator(func):
  
              def wrapper(*args, **kwargs):
                  self.tracer.start_span(name=func.__name__)
                  return_value = func(*args, **kwargs)
                  self.tracer.end_span()
                  return return_value
  
              return wrapper
  
          return decorator
docs: Decorator to trace a function.