-
Notifications
You must be signed in to change notification settings - Fork 95
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
feat: Improve log messages to be more informative #1322
Conversation
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.
Looks good to me. Just have two suggestions
Co-authored-by: Kent Quirk <kentquirk@honeycomb.io>
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.
Are we mostly consistent about error logs come out every time data is dropped? And then a retry or early decision with some delivery time or sampling impact is a warning?
## Which problem is this PR solving? Improve some log messages to be more accurate about what's actually happening. - closes #1321 ## Short description of the changes - Improve log messages - Prefer using WithField / WithString to include parameters instead of inline formatting - Update memory overrun messages from error -> warn - they do not constitute data lost so error feels heavy handed --------- Co-authored-by: Kent Quirk <kentquirk@honeycomb.io>
Which problem is this PR solving?
Improve some log messages to be more accurate about what's actually happening.
Short description of the changes