Updates for OTel SDK 1.30

pull/35720/head
Graham Davison 1 year ago
parent 97eac1592f
commit 6883ab0ecf

@ -194,6 +194,9 @@ func TestTelemetryInTests(t *testing.T) {
InstrumentationLibrary: instrumentation.Scope{
Name: "test thingy",
},
InstrumentationScope: instrumentation.Scope{
Name: "test thingy",
},
},
{
Name: "parent span",
@ -206,6 +209,9 @@ func TestTelemetryInTests(t *testing.T) {
InstrumentationLibrary: instrumentation.Scope{
Name: "test thingy",
},
InstrumentationScope: instrumentation.Scope{
Name: "test thingy",
},
},
}

@ -292,3 +292,8 @@ func (s testLogTraceSpan) TracerProvider() trace.TracerProvider {
spanTracker: s.spanTracker,
}
}
// AddLink implements trace.Span.
func (s testLogTraceSpan) AddLink(link trace.Link) {
// Noop
}

Loading…
Cancel
Save