mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Updates for OTel SDK 1.30
This commit is contained in:
parent
97eac1592f
commit
6883ab0ecf
2 changed files with 11 additions and 0 deletions
|
|
@ -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…
Reference in a new issue