Skip to content

Commit

Permalink
Updates for OTel SDK 1.30
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Sep 23, 2024
1 parent 97eac15 commit 6883ab0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/rpcapi/telemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ func TestTelemetryInTests(t *testing.T) {
InstrumentationLibrary: instrumentation.Scope{
Name: "test thingy",
},
InstrumentationScope: instrumentation.Scope{
Name: "test thingy",
},
},
{
Name: "parent span",
Expand All @@ -206,6 +209,9 @@ func TestTelemetryInTests(t *testing.T) {
InstrumentationLibrary: instrumentation.Scope{
Name: "test thingy",
},
InstrumentationScope: instrumentation.Scope{
Name: "test thingy",
},
},
}

Expand Down
5 changes: 5 additions & 0 deletions internal/stacks/stackruntime/telemetry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 6883ab0

Please sign in to comment.