Open davidshur opened 2 months ago
There are no deps listed for [opentelemetry-exporter-prometheus]
@davidshur I'm a bit confused by the title. There are deps listed for this package https://github.com/open-telemetry/opentelemetry-python/blob/a156bf161d4de96766cac09a5ef4fcddbf367604/exporter/opentelemetry-exporter-prometheus/pyproject.toml#L27-L30
Steps to reproduce Describe exactly how to reproduce the error. Include a code sample if applicable. Use apache-airflow[otel]
I wasn't able to reproduce this in a fresh virtualenv with pip install apache-airflow[otel] opentelemetry-exporter-prometheus
which leads to these OTel dependencies
pip list | grep opentelemetry
opentelemetry-api 1.24.0
opentelemetry-exporter-otlp 1.24.0
opentelemetry-exporter-otlp-proto-common 1.24.0
opentelemetry-exporter-otlp-proto-grpc 1.24.0
opentelemetry-exporter-otlp-proto-http 1.24.0
opentelemetry-exporter-prometheus 0.45b0
opentelemetry-proto 1.24.0
opentelemetry-sdk 1.24.0
opentelemetry-semantic-conventions 0.45b0
I think the issue here is mixing versions of packasges from 1.24.0 and 1.20.0 opentelemetry releases.
Describe your environment Describe any aspect of your environment relevant to the problem, including your Python version, platform, version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main.
Steps to reproduce Describe exactly how to reproduce the error. Include a code sample if applicable. Use apache-airflow[otel]
What is the expected behavior? What did you expect to see? Should resolve otel deps.
What is the actual behavior? What did you see instead?
Additional context Add any other context about the problem here.