-
Notifications
You must be signed in to change notification settings - Fork 440
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
[EXPORTER] Error when grpc endpoint is empty #2507
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.
Thanks. you would also have to sign the CLA to enable merge this.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2507 +/- ##
==========================================
- Coverage 87.12% 87.09% -0.02%
==========================================
Files 200 200
Lines 6109 6103 -6
==========================================
- Hits 5322 5315 -7
- Misses 787 788 +1 |
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.
Thanks.
Thanks for the PR. Please sign the CLA so it can be merged. After signing, if the CI does not detect the change, please add a comment with a single line "/easycla" command, to poke github to reevaluate. |
Thanks @marcalff , I am just getting the CLA for my organisation through, could take a day or so |
/easycla |
Hi @HennerM . Any update on the CLA ? |
yes unfortunately the EasyCLA landed in the spam folder of the responsible person in my organisation, but it should get through soon now |
/easycla |
e1ce517
to
d1cec0b
Compare
Changes
It seems like there is nothing checking whether the grpc exporter is actually empty, in which case it doesn't make sense to create a gRPC channel. This causes a problem in my application where we accidentally create a GrpcExporter with empty endpoint, which we never use because of a NOOP sampler.
I believe it could be useful to log an error here, similar to when the endpoint is no valid URI.