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

Improve logging of gRPC request handling #1084

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

tiziano88
Copy link
Collaborator

@tiziano88 tiziano88 commented Jun 4, 2020

The main change is that we log one info entry for each gRPC request,
including details of its label, so that it's possible to debug label
mismatch issues.

Also do not log the contents of the request, only its size, and the
client IP address (though this does not seem to work reliably yet).

@tiziano88 tiziano88 added the blocked This pull request is blocked by another pull request or issue label Jun 4, 2020
@tiziano88
Copy link
Collaborator Author

This is now blocked by #865, since the actual has of the wasm module is different on my machine and on cloud build.

@tiziano88 tiziano88 force-pushed the tzn_aggregator_wasm_hash branch 6 times, most recently from 652eeb7 to dfa7a2b Compare June 5, 2020 10:35
@tiziano88 tiziano88 changed the title Use WebAssemblyModule hash label in aggregator Improve logging of gRPC request handling Jun 5, 2020
@tiziano88 tiziano88 removed the blocked This pull request is blocked by another pull request or issue label Jun 5, 2020
The main change is that we log one info entry for each gRPC request,
including details of its label, so that it's possible to debug label
mismatch issues.

Also do not log the contents of the request, only its size, and the
client IP address (though this does not seem to work reliably yet).
@tiziano88 tiziano88 force-pushed the tzn_aggregator_wasm_hash branch from dfa7a2b to ca307e7 Compare June 5, 2020 10:37
@tiziano88 tiziano88 requested a review from rbehjati June 5, 2020 10:37
@tiziano88 tiziano88 marked this pull request as ready for review June 5, 2020 10:37
Copy link
Contributor

@rbehjati rbehjati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tiziano88 tiziano88 merged commit d320cd8 into project-oak:master Jun 5, 2020
@tiziano88 tiziano88 deleted the tzn_aggregator_wasm_hash branch June 8, 2020 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants