stack created HTRACE-261:
----------------------------

             Summary: API improvements
                 Key: HTRACE-261
                 URL: https://issues.apache.org/jira/browse/HTRACE-261
             Project: HTrace
          Issue Type: Improvement
    Affects Versions: 5.0.0
            Reporter: stack


Umbrella issue to keep track of API improvments to do for htrace 5.0

detach and reattach should return this. Ditto on the annotations.

curThreadTracer should be currentThreadTracer or getCurrentThreadTracer

Have to do too much checking for null when use the 4.0 API; e.g. checking if 
tracer is null.

In 3.x, there was an isTracing but now you have to get Span from Scope and if 
it is null, then you know you are not tracing... not as clean as isTracing.

TraceScope is meant as the Tracing Interface; it hides Spans. Its coverage is 
not complete though. For example, to add a Parent, you have to get the Span 
from the Scope and add the Parent there.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to