Describe your environment
Python 3.7
Steps to reproduce
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor, ConsoleSpanExporter
trace.set_tracer_provider(TracerProvider())
tracer = trace.get_tracer(__name__)
span_processor = BatchSpanProcessor(ConsoleSpanExporter())
trace.get_tracer_provider().add_span_processor(span_processor)
with tracer.start_as_current_span("hello"):
print("Hello, World!")
What is the actual behavior?
Getting an error which is breaking our builds.
description should only be set when status_code is set to StatusCode.ERROR
What is the expected behavior?
no such warning should occur and would expect to just see the traces.
Additional context
Is it possible to hotfix this?