From 7258da3ee0357d94859ee944f842ba2df5acfa16 Mon Sep 17 00:00:00 2001 From: alrex Date: Thu, 22 Oct 2020 21:08:24 -0700 Subject: [PATCH] Revert "Populate resource attributes as per semantic conventions (#1053)" This reverts commit 7cb3f9e40fd5f1a0335de8851afed0a8bcae479c. --- .../tests/test_zipkin_exporter.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/exporter/opentelemetry-exporter-zipkin/tests/test_zipkin_exporter.py b/exporter/opentelemetry-exporter-zipkin/tests/test_zipkin_exporter.py index 220acb8fa..f6e24a149 100644 --- a/exporter/opentelemetry-exporter-zipkin/tests/test_zipkin_exporter.py +++ b/exporter/opentelemetry-exporter-zipkin/tests/test_zipkin_exporter.py @@ -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"