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

followup(proxy, worker): traceability between services #1031

Open
SantiagoPittella opened this issue Dec 19, 2024 · 0 comments
Open

followup(proxy, worker): traceability between services #1031

SantiagoPittella opened this issue Dec 19, 2024 · 0 comments

Comments

@SantiagoPittella
Copy link
Collaborator

What should be done?

In the current state, the traces of the proxy and worker are shown separately. We need to investigate a way to aggregate the traces into one (at least for the normal use case of a prove request). The trace of the worker should be included as part of the trace of the proxy.

This will be a great debugging tool when needed, and will provide rich information about the insights of the system.

How should it be done?

A way to implement it is through some sort of UUID in the traces, as @Mirko-von-Leipzig mentioned in this comment.

From the proxy approach we do not have an easy way to access the transaction_id of a given witness, so that approach might be discarded.

Probably the best shot is to use a header like X-Request-ID. In order to avoid a user sending duplicated IDs we can always set the header in the proxy.

When is this task done?

The task can be considered done when in any selected frontend for the traces we have the ability see a single trace for the whole request.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant