Replies: 1 comment 3 replies
-
Maybe using a custom Clearly you have to know/define the traceId at the very beginning of the trace as it is shared for all spans. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have a use-case where I think I would like predictable trace ids, which I cannot figure out how to do? Very open to better ways of doing it, though!
We have a system which handles queued "tasks". When dequeued, these tasks can succeed, be retried, postponed or failed. Retries and postponements lead to the task being enqueued again, and tasks may not be picked up for many hours, which might also be on a separate instance of our worker pool.
What we'd like is to trace the full flow of these tasks. Naively, setting the trace-id to our internal id would be the easy way to do this. Is this possible, and if not, what is the suggested way to solve this case?
Beta Was this translation helpful? Give feedback.
All reactions