Skip to content

Commit

Permalink
supply the event id to the span
Browse files Browse the repository at this point in the history
  • Loading branch information
sovaa committed Oct 8, 2021
1 parent 40ded0b commit 649b67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logistik/queue/event_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def create_env(self):
def handle_event(self, topic, data):
self.logger.info(f"request: {data}")

with self.env.tracer.start_span("handle-event") as span:
with self.env.tracer.start_span("handle-event", event_id=data["id"]) as span:
span.log_kv(data)
self.handler_manager.handle_event(topic, data, span_ctx=span)

Expand Down

0 comments on commit 649b67d

Please sign in to comment.