-
Notifications
You must be signed in to change notification settings - Fork 51
[flagd] follow-up refactoring #390
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
Comments
See my comment here, I'm not sure we can really do much about the 4th point. The rest looks good. |
I will work on this :) |
I think also the last point (always use OTel) is not yet done. |
We already discussed about this in #286 (comment). are we changing from this stance and planning to use |
@thisthat could you please explain your suggestion in detail? I cannot fully understand the requirements you are proposing. Besides @thiyagu06 has a good point about using global telemetry. |
Sorry to overlook this ticket for so long @thiyagu06 and @Kavindu-Dodan 🤦 Lines 15 to 18 in 2f2ce59
If we don't pass an OTel instance, gRPC will never be instrumented. This is a problem when you work with Agent auto-instrumentation that provides an SDK implementation at runtime. Since auto-instrumentation for Java is quite powerful (see OTel java-instrumentation or other Observability vendors), I would suggest changing the lines before. If the App developer didn't provide an |
I checked the concerned usage and I have the following suggestion,
This fulfils all the requirements. |
Wouldn't this be achieved through the no-op implementation of the Otel API? 🤔 |
We could, but that means we have a few extra calls backed by no-op implementation. And if someone wants to avoid those calls, traces-free resolving helps. |
…ure#390) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Tasks
The text was updated successfully, but these errors were encountered: