-
Notifications
You must be signed in to change notification settings - Fork 53
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
chore: add better e2e trace logging for relay #1526
Conversation
Not sure if you already thought about this but I think its important to highlight that this can't just be run with In other words, if we run the node as it is with just wdyt? Also, would we need to recompile to enable this chronible logs? |
@alrevuelta Indeed, I did consider this. We can either separate this logging out completely with a compiler flag, e.g. |
From the discord conversation:
|
Perhaps for another PR, but do we plan to compile and push a new docker image for this variant? I would say it would facilitate things for the DS team, but unsure about starting to push many variants of nwaku, can end up being very convoluted. |
Of course happy to discuss what is practical with the DS team, but I think it's reasonable to have a different compilation and docker image for this. I see this special logging use case basically as a specialised application of Nwaku. I would avoid compiling this logging into our usual image and then only enable this "application" via some runtime configuration. We can address during next steps. The idea now is to get consensus on adding those logs. |
Nobody said anything about pushing any docker image to docker-hub. The image could be built by docker/kurtosis before running any tests. A docker build argument can be added to the current Dockefile to support a perf-test image variant. While I understand the concerns, please, let's focus the discussion on the information to be displayed in the log message. |
From #1394 (comment)
Leaving configuration and compilation TBD, but having gotten the 👍 from DS opening for review and merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
Hopefully an easy fix for #1394
Improves relay trace logging on publishing and receiving a message, to log:
@Daimakaimura my understanding is that this will cover your needs? Anything else that would be required/nice to have?
This will result in the following example trace log on the relaying node:
and on the publishing node
Note: