opentracing / opentracing-java

OpenTracing API for Java. 🛑 This library is DEPRECATED! https://github.com/opentracing/specification/issues/163
http://opentracing.io
Apache License 2.0
1.68k stars 344 forks source link

Android support #300

Open jpkrohling opened 6 years ago

jpkrohling commented 6 years ago

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:

SIMRAN1 commented 5 years ago

@jpkrohling We have to make a sample android app and instrument the code using open Tracing libraries?

jpkrohling commented 5 years ago

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.

SIMRAN1 commented 5 years ago

Thanks @jpkrohling! I will work on this.

SaumiaSinghal commented 5 years ago

Hie @jpkrohling, Can I also work on this issue?

SaumiaSinghal commented 5 years ago

Hie @jpkrohling, I have a doubt. We should not be using LightStep Tracers for this purpose, we should only use Jaeger Tracer. Right?

jpkrohling commented 5 years ago

@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.

jpkrohling commented 5 years ago

@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/

Bikraji commented 3 years ago

Any update on this?

jpkrohling commented 3 years ago

Unfortunately, no. Also, I don't think we'll make progress on this, given that work is now centered around OpenTelemetry.