Updates for OTel SDK 1.30

This commit is contained in:
Graham Davison 2024-09-23 13:54:20 -07:00
parent 97eac1592f
commit 6883ab0ecf
2 changed files with 11 additions and 0 deletions

View file

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

View file

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