opentracing-java
opentracing-java copied to clipboard
Android support
We currently don't have reports about applications using OpenTracing with Android. It would then be worth doing a research on what's needed to get it working. At this moment, we are not sure what would break and what's missing.
Task outline:
- [ ] Bootstrap an Android project
- [ ] Instrument the code manually using the OpenTracing libraries
- [ ] Assert that the instrumentation works by using the MockTracer
- [ ] Report the findings
@jpkrohling We have to make a sample android app and instrument the code using open Tracing libraries?
Yes, go as far as you can, with the main goal being to be able to visualize a trace in Jaeger.
The application itself isn't that important, it can be just a simple app with a single button in the UI. Clicking the button would generate a span using OpenTracing APIs. Then, plug in a concrete tracer like Jaeger's and see how this span could reach the collector and be available in Jaeger's UI.
I don't expect it all to work, but it would be interesting to see how far we can go without changes to the existing libraries.
Thanks @jpkrohling! I will work on this.
Hie @jpkrohling, Can I also work on this issue?
Hie @jpkrohling, I have a doubt. We should not be using LightStep Tracers for this purpose, we should only use Jaeger Tracer. Right?
@SaumiaSinghal you can absolutely work on this one as well!
I wasn't aware of LightStep's support for Android before, but I'd say that it's certainly OK to follow their instructions on a first step, as it seems it's supposed to work already (unless @tedsuo thinks it's not appropriate). Then, replace the LS tracer with MockTracer and try it out. If you can get all of that to work, then the next possible step is to replace the MockTracer with Jaeger's.
If you follow this path, I'm sure @tedsuo would appreciate if you'd include LS in your final report.
@SIMRAN1, @SaumiaSinghal , if you have progress to report on this issue, please do so before the deadline, which is tomorrow Tuesday, October 30, 2018 4pm UTC.
https://www.outreachy.org/december-2018-march-2019-outreachy-internships/communities/cncf-tracing/research-the-gaps-in-tracing-web-clients/contributions/
Any update on this?
Unfortunately, no. Also, I don't think we'll make progress on this, given that work is now centered around OpenTelemetry.