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

Sample Info/Debug logs to reduce log volume #521

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dermanyang
Copy link
Contributor

@dermanyang dermanyang commented Sep 25, 2024

Purpose

Import the sampling crate from the SDK to reduce log noise. There were previously some SEVs due to high log volume.

The selected logs were the noisiest from doing a log analysis. Namely, the following:

"[Parser] Received transactions from GRPC. Sending transactions to channel."
"[Parser] Processor finished processing one batch of transaction"
"[Parser] Processor finished processing multiple batches of transactions"

Testing

Ran locally with the reduced log volume. Previously, there was a lottt of logs between the table_item logs.

image

@dermanyang dermanyang marked this pull request as ready for review September 27, 2024 18:14
@dermanyang dermanyang changed the title add dependency on sample crate. change some debug logs to sample Sample Info/Debug logs to reduce log volume Sep 27, 2024
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.

1 participant