Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a trace_id based on the Context variables #490

Open
ateska opened this issue Aug 25, 2023 · 0 comments
Open

Introduce a trace_id based on the Context variables #490

ateska opened this issue Aug 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ateska
Copy link
Contributor

ateska commented Aug 25, 2023

We need a tool for connecting actions across microservices (or even within micro service).

I want to do that using Context Variables:

  1. Set in the web handler
  2. Used in the logging as standardised structured data entry

Remarks:

  • Introduce a common way how this trace_id is passed across microservices over HTTP (and thru Kafka)
  • Remove error uuid from web handler, replace / unify this with trace_id

https://docs.python.org/3/library/contextvars.html

@ateska ateska added the enhancement New feature or request label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant