opentelemetry-python
opentelemetry-python copied to clipboard
Schema URL not exported for OTLP exporter
Describe your environment Opentelemetry-Python v1.22.0 on Ubuntu 18
Steps to reproduce
Specify schema_url
to the get_meter
, get_tracer
, and Resource's create
functions and set up the Tracer/Meter providers to export using the OTLP HTTP exporters.
What is the expected behavior?
The exported metrics and traces should contain the schema_url
.
What is the actual behavior?
The schema_url
is not present in the exported metrics/traces data.
Additional context
I verified this by using the logging
exporter in the Opentelemetry-Collector, which prints the metric/tracing data.