Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelemetry-exporter-otlp-proto-grpc 1.12.0 requires opentelemetry-api/sdk 1.12.0 #2883

Closed
blueyed opened this issue Aug 22, 2022 · 0 comments · Fixed by #2918
Closed

opentelemetry-exporter-otlp-proto-grpc 1.12.0 requires opentelemetry-api/sdk 1.12.0 #2883

blueyed opened this issue Aug 22, 2022 · 0 comments · Fixed by #2918
Labels
bug Something isn't working

Comments

@blueyed
Copy link

blueyed commented Aug 22, 2022

When installing opentelemetry-exporter-otlp-proto-grpc 1.12.0, but keeping opentelemetry-api/opentelemetry-sdk at 1.11.1 it will cause the following error:

>>> import opentelemetry.exporter.otlp.proto.grpc.trace_exporter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "…/Vcs/opentelemetry-python/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/trace_exporter/__init__.py", line 22, in <module>
    from opentelemetry.exporter.otlp.proto.grpc.exporter import (
  File "…/Vcs/opentelemetry-python/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/exporter.py", line 56, in <module>
    from opentelemetry.sdk.metrics.export import MetricsData
ModuleNotFoundError: No module named 'opentelemetry.sdk.metrics'

There's a dependency defined between opentelemetry-api and opentelemetry-sdk already, and it should also be done at least for this exporter then.

ref: 5063000#r81845071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant