[ 
https://issues.apache.org/jira/browse/HTRACE-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14571636#comment-14571636
 ] 

Daniel Lee commented on HTRACE-175:
-----------------------------------

The problem with that is you'll need to test for span == null (or use 
isTracing() etc.) everywhere you'd want to add any annotations and such. Either 
users of htrace all implement their own (likely very similar) helper 
functions/classes or they can be supplied as part of the base library.

> Add missing setX functionality to Trace
> ---------------------------------------
>
>                 Key: HTRACE-175
>                 URL: https://issues.apache.org/jira/browse/HTRACE-175
>             Project: HTrace
>          Issue Type: Improvement
>            Reporter: Daniel Lee
>            Priority: Minor
>              Labels: patch
>         Attachments: 
> 0001-Add-missing-Span-setX-functionality-to-Trace-class.patch
>
>
> Trace currently doesn't expose a few options that are available to spans.



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

Reply via email to