-
Notifications
You must be signed in to change notification settings - Fork 530
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
Extend distributor trace logger with optional features to include span attributes and filter by error status #1465
Extend distributor trace logger with optional features to include span attributes and filter by error status #1465
Conversation
…pan attributes and to filter by status error Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Hey @kvrhdn, in my last draft PR, you mentioned making Also the name |
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
…butes, update docs Signed-off-by: Fausto David Suarez Rosario <[email protected]>
I think you can do this by implementing the Unmarshaler interface: this gives you more control over how yaml is converted into your Go struct. |
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
…y tests Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Signed-off-by: Fausto David Suarez Rosario <[email protected]>
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.
General approach looks good. I left to comments about some code structure. Thanks for the contribution!
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.
This looks good to me. Nice work on the tests! Works as expected in my local environment :)
* Update CHANGELOG with deprecated flag Signed-off-by: Fausto David Suarez Rosario <[email protected]>
Co-authored-by: Koenraad Verheyden <[email protected]>
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.
Doc updates look good. I fixed a capitalization error on another line.
Co-authored-by: Kim Nylander <[email protected]>
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. I'm in favor of merging when the last two minor threads are closed 👍
* Add warning log when log_received_traces flag is use Signed-off-by: Fausto David Suarez Rosario <[email protected]>
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.
Great work 😄. Thanks for the contribution!
What this PR does:
Extend distributor trace logger with optional features to include span attributes and filter by error status
This can help to do error correlation analysis by attribute.
Which issue(s) this PR fixes:
Fixes #1485
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]