Revert "Populate resource attributes as per semantic conventions (#1053)"

This reverts commit 7cb3f9e40f.
This commit is contained in:
alrex 2020-10-22 21:08:24 -07:00
parent ec98e45733
commit 7258da3ee0
1 changed files with 0 additions and 3 deletions

View File

@ -165,7 +165,6 @@ class TestZipkinSpanExporter(unittest.TestCase):
]
otel_spans[0].start(start_time=start_times[0])
otel_spans[0].resource = Resource({})
# added here to preserve order
otel_spans[0].set_attribute("key_bool", False)
otel_spans[0].set_attribute("key_string", "hello_world")
@ -186,7 +185,6 @@ class TestZipkinSpanExporter(unittest.TestCase):
otel_spans[2].end(end_time=end_times[2])
otel_spans[3].start(start_time=start_times[3])
otel_spans[3].resource = Resource({})
otel_spans[3].end(end_time=end_times[3])
service_name = "test-service"
@ -297,7 +295,6 @@ class TestZipkinSpanExporter(unittest.TestCase):
)
otel_span.start(start_time=start_time)
otel_span.resource = Resource({})
otel_span.end(end_time=end_time)
service_name = "test-service"