Replace assertEqualSpanInstrumentationInfo with assertEqualSpanInstrumentationScope (#3037)

* Replace assertInstInfo with assertInstScope

* Update Changelog

* Fix order of other changelog entries
This commit is contained in:
Tammy Baylis
2024-11-22 00:32:04 -08:00
committed by GitHub
parent d9e14487b2
commit 5c5fc732fb
18 changed files with 63 additions and 61 deletions

View File

@ -114,7 +114,7 @@ class TestElasticsearchIntegration(TestBase):
span = spans_list[0]
# Check version and name in span's instrumentation info
self.assertEqualSpanInstrumentationInfo(
self.assertEqualSpanInstrumentationScope(
span, opentelemetry.instrumentation.elasticsearch
)
@ -608,7 +608,7 @@ class TestElasticsearchIntegration(TestBase):
span = spans_list[0]
# Check version and name in span's instrumentation info
self.assertEqualSpanInstrumentationInfo(
self.assertEqualSpanInstrumentationScope(
span, opentelemetry.instrumentation.elasticsearch
)