OTLPSpanExporter
headers
argument is tightly coupled to specific types
#3209
Labels
OTLPSpanExporter
headers
argument is tightly coupled to specific types
#3209
Describe your environment
Python 3.11, opentelemetry-exporter-otlp-proto-grpc 1.16.0
Steps to reproduce
According to the type annotations, the following code should work:
however it results in:
Additionally the type signature for
OTLPSpanExporter
does not appear to allow passing e.g: a mapping of key value pairs to the headers, however that is in fact supported by theOTLPExporterMixin
which handles the passed value.The text was updated successfully, but these errors were encountered: