huangpang opened a new issue #2599: How to identify a span failure?
URL: https://github.com/apache/skywalking/issues/2599
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   
   
   ___
   ### Question
   
   How to identify a span failure?
   
   I used opentracing to create a custom span
   
   But I haven't found a way to set the state.
   
   I tried several ways, but none of them worked.
   version: 6.0.0-GA
   ```
           span.setTag("error",true);
           span.setTag("isError",true);
   
           org.apache.skywalking.apm.toolkit.trace.ActiveSpan.tag("is 
error","true");
           
org.apache.skywalking.apm.toolkit.trace.ActiveSpan.tag("isError","true");
   ```
   
![微信图片编辑_20190506134730](https://user-images.githubusercontent.com/31001984/57208683-b5483100-7007-11e9-90c5-b9523abbc10d.jpg)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to