1
0
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:
Gustavo Silva Paiva
2019-10-28 14:05:06 -03:00
committed by rghetia
parent d9c4aa5cee
commit 4e545e2ab8
26 changed files with 194 additions and 212 deletions

View File

@@ -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,