wu-sheng commented on code in PR #58:
URL: https://github.com/apache/skywalking-rover/pull/58#discussion_r1024984550


##########
pkg/profiling/task/network/analyze/layer7/protocols/base/tracing.go:
##########
@@ -15,23 +15,32 @@
 // specific language governing permissions and limitations
 // under the License.
 
-package protocols
+package base
 
 import (
        "encoding/base64"
        "fmt"
        "strings"
+
+       v3 "skywalking.apache.org/repo/goapi/collect/language/agent/v3"
 )
 
 type TracingContext interface {
        TraceID() string
-       Provider() string
+       TraceSegmentID() string
+       SpanID() string
+       Provider() *TraceContextProvider
+}
+
+type TraceContextProvider struct {
+       Type v3.SpanAttachedEvent_SpanReferenceType
+       Name string
 }
 
 type SkyWalkingTracingContext struct {
        TraceID0              string
-       SegmentID             string
-       SpanID                string
+       SegmentID0            string
+       SpanID0               string

Review Comment:
   Why ends of `0`?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to