appdash icon indicating copy to clipboard operation
appdash copied to clipboard

(long term) consider making OpenTracing API the primary interface

Open emidoots opened this issue 9 years ago • 2 comments

I've yet to try it out for real, but if the OpenTracing API turns out to be nice in real applications, we could in theory make Appdash just operate as if it was just an implementation of the OpenTracing API. I.e. there would not be an Appdash API, it would just be that Appdash is a tracer designed specifically for OpenTracing.

I've marked this issue as long-term, because this would be a serious change and would probably be done in multiple phases (unexporting the current API, simplification of the internals w.r.t marshaling events, etc). I'm also not 100% convinced yet that this would be most ideal or appropriate, but it is something I am considering longer term.

emidoots avatar Mar 29 '16 21:03 emidoots

Any progress on this front? I am interested in this. I see the support of OT, but unsure how far you plan to take this and what the thought process is. cc @bensigelman

josephjacks avatar Nov 15 '16 01:11 josephjacks

Sorry, I haven't had a great deal of time to investigate this yet. I think that the first step in implementing this would be:

  1. Move all current Appdash code in sourcegraph.com/sourcegraph/appdash/... to sourcegraph.com/sourcegraph/appdash/internal/...
  2. Expose the most minimal OT API in the main package
  3. A slightly long-winded PR in which others chime in confirming it looks good :)

I probably won't have time to work on this for a while, but if someone wants to send a PR for the above I'll gladly review etc.

emidoots avatar Nov 21 '16 19:11 emidoots