Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
dependencies.py: add additional ctx info
Browse files Browse the repository at this point in the history
- add parent call_id and call_id_stack
  • Loading branch information
vldpro committed Nov 23, 2018
1 parent 0387113 commit 4918ed6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nameko_worker_logger/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
def _worker_ctx_to_dict(worker_ctx):
return {
'call_id': worker_ctx.call_id,
'call_id_parent': worker_ctx.immediate_parent_call_id,
'call_id_stack': worker_ctx.call_id_stack,
'method_name': worker_ctx.entrypoint.method_name,
'service_name': worker_ctx.service_name
}
Expand Down

0 comments on commit 4918ed6

Please sign in to comment.