You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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:
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
The text was updated successfully, but these errors were encountered: