public void SetTag(string name, string value)
 {
     if (name == SpanTagNames.Service)
     {
         WrappedTrace.Record(Annotations.ServiceName(Truncate(value, 128)));
     }
     else if (name == SpanTagNames.Operation)
     {
         WrappedTrace.Record(Annotations.Rpc(Truncate(value, 128)));
     }
     else
     {
         WrappedTrace.Record(Annotations.Tag(Truncate(name, 128), Truncate(value, 4096)));
     }
 }
 public void Dispose()
 {
     WrappedTrace.Record(m_kind == TraceSpanKind.Client ? Annotations.ClientRecv() :
                         m_kind == TraceSpanKind.Server ? Annotations.ServerSend() : Annotations.LocalOperationStop());
 }