-
Notifications
You must be signed in to change notification settings - Fork 31
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
Identify call router request in logs #506
Comments
I wouldn't care about an integer overflow. If you use just a regular Lua number, it is a double, which fits up to 2^53 without precision loss. That means 100 days of making a new request every nanosecond. If you use long long (in Lua you can declare it same as in C, like |
I think At the very least, |
Actually amazing idea, @sergepetrenko! Would you open a ticket in core? |
Sure thing: tarantool/tarantool#11059 |
Currently it's difficult for users to distinguish call errors, written to log, as they're not identified:
It was proposed to add
trace_id
opt to to router call's, so that all logs from that call are logged with thattrace_id
. Something like that:Even if
trace_id
is not passed, I propose to automatically set it, we can use monotonically growing number (we should take care of integer overflow). It will majorly boost the readability of the logs.The text was updated successfully, but these errors were encountered: