-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
opentelemetrytracer: Log (debug) the number of exported spans #37828
opentelemetrytracer: Log (debug) the number of exported spans #37828
Conversation
Signed-off-by: Joao Grassi <[email protected]>
586b2d4
to
3528896
Compare
CC @wbpcode I thought about adding this, as I have been experiencing some users having problems with Istio where the config "looks OK" but no spans are received by the back-end. Having such log can help in troubleshooting. I saw there's a OTel stat sink, but that can only be exported via gRPC which is not always helpful, specially for those who use a back-end that does not support OTLP/gRPC. I opened a separated issue for it: #37826 |
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.
LGTM overall with simple comments.
Signed-off-by: Joao Grassi <[email protected]>
Signed-off-by: Joao Grassi <[email protected]>
Signed-off-by: Joao Grassi <[email protected]>
627876c
to
00dfe76
Compare
Sorry, had to force push because I forgot to sign-off the commits. |
Commit Message: Log (debug) the number of exported spans
Additional Description:
Adds a debug log message containing the number of (about to be) exported spans. This is helpful in troubleshooting for cases where the configuration looks "correct" but no spans are seen in the tracing back-end. The stats sink could be used, but that only exports via OTLP/gRPC which is not always possible.
Risk Level: Low
Testing: Manual and Unit tests
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]