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

Add spans and drop large size high volume logs to trace level #2028

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

kiashok
Copy link
Contributor

@kiashok kiashok commented Feb 14, 2024

This PR adds spans and drops debug logs to trace logs for large size high volume debug logs (bridge send, bridge receive, request read request and request write response traces). These logs carry the payload and incoming/outgoing message fields which cause the message column to be between 1000-4500 bytes. But since these logs are helpful for connectivity issues, it would be helpful to add spans and drop to trace level.

@kiashok kiashok requested a review from a team as a code owner February 14, 2024 03:54
@kiashok
Copy link
Contributor Author

kiashok commented Feb 14, 2024

cc @helsaawy

@kiashok kiashok force-pushed the reduceLogging branch 2 times, most recently from 8d797b3 to cf3c671 Compare February 14, 2024 04:45
@helsaawy helsaawy self-assigned this Feb 14, 2024
Copy link
Contributor

@helsaawy helsaawy left a comment

Choose a reason for hiding this comment

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

I agree with downgrading the traces, but I dont think all the new spans are needed, since we already have ones to span the message lifetime

@kiashok
Copy link
Contributor Author

kiashok commented Mar 6, 2024

I agree with downgrading the traces, but I dont think all the new spans are needed, since we already have ones to span the message lifetime

Pushed new changes to address this.

Copy link
Contributor

@anmaxvl anmaxvl left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
@kiashok kiashok requested a review from helsaawy March 6, 2024 21:56
@kiashok
Copy link
Contributor Author

kiashok commented Mar 8, 2024

image
Test failure is unrelated to the change

@kiashok kiashok merged commit c91d82d into main Mar 8, 2024
32 of 33 checks passed
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

Successfully merging this pull request may close these issues.

3 participants