Skip to content

Commit

Permalink
datadog: fix add_event
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Apr 13, 2024
1 parent 9b9ec1f commit b56cde3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automon/integrations/openTelemetryWrapper/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self):
def add_event(self, name: str, attributes: types.Attributes = None, **kwargs):
logger.debug(dict(name=name, attributes=attributes, kwargs=kwargs))
return self.config.opentelemetry.trace.get_current_span().add_event(
name=name, attributes=attributes, **kwargs
name=name
)

async def clear(self):
Expand Down

0 comments on commit b56cde3

Please sign in to comment.