You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-25 22:41:46 +02:00
api(trace): change SpanID to byte array (#241)
* api(trace): change SpanID to byte array * fix doc and create const errors
This commit is contained in:
committed by
rghetia
parent
d9c4aa5cee
commit
4e545e2ab8
@@ -59,7 +59,7 @@ func TestSimpleSpanProcessorOnEnd(t *testing.T) {
|
||||
tp.RegisterSpanProcessor(ssp)
|
||||
tr := tp.GetTracer("SimpleSpanProcessor")
|
||||
tid, _ := core.TraceIDFromHex("01020304050607080102040810203040")
|
||||
sid := uint64(0x0102040810203040)
|
||||
sid, _ := core.SpanIDFromHex("0102040810203040")
|
||||
sc := core.SpanContext{
|
||||
TraceID: tid,
|
||||
SpanID: sid,
|
||||
|
||||
Reference in New Issue
Block a user