Skip to content

Commit

Permalink
datadog: fix start_as_current_span
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Apr 13, 2024
1 parent df010fb commit 42ea12a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automon/integrations/openTelemetryWrapper/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ def start_as_current_span(
**kwargs
):
logger.debug(dict(name=name, attributes=attributes, kwargs=kwargs))
return self.tracer.start_as_current_span(
tracer = self.tracer
return tracer.start_as_current_span(
name=name,
)

Expand Down

0 comments on commit 42ea12a

Please sign in to comment.