-
Notifications
You must be signed in to change notification settings - Fork 626
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
otlp-proto-grpc default exporter appears to break auto-instrumentation #1189
Comments
The PR in question is this |
Fixed open-telemetry/opentelemetry-python#2748. Please use rc2 version. |
Can you share your pip freeze output? |
It looks like it's actually just a separate problem. Some packages like
|
I have the same issue. I tried to set |
@Yamakaky |
I have the same initial problem, and additionally the env variable doesn't work. |
@jeremydvoss |
@Yamakaky . The solution for me was upgrading to the latest versions of everything. FOr a brief time, since not all the packages were updated, there were conflicts that prevented this. But once I removed those unneeded packages, I was able to upgrade and solve the issue. |
Describe your environment
Windows 11 - Python 3.10.4 - Local OT 1.12.0rc1-0.31b0
Ubuntu 20/04 - Python 3.8.10 - Local OT 1.12.0rc1-0.31b0
Steps to reproduce
Checkout e27f2b8 in core repo. This is the final rc1 commit.
Checkout 51ba801 in contrib repo. This is the commit that added grpc for auto-instrumentation.
Follow these instructions to trigger auto-instrumentation.
This should produce multiple errors on Linux and Windows saying:
RuntimeError: Requested component 'otlp_proto_grpc' not found in entry points for 'opentelemetry_metrics_exporter'
What is the expected behavior?
The above case should produce no errors. To see what that should look like, here is a control case.
Remain at e27f2b8 in core repo. This is the final rc1 commit.
Rewind one commit to ad15f7b in contrib repo. This is the commit before adding grpc for auto-instrumentation.
Follow these instructions to trigger auto-instrumentation.
This should produce no errors. Instead, you should only see output along the lines of:
What is the actual behavior?
RuntimeError: Requested component 'otlp_proto_grpc' not found in entry points for 'opentelemetry_metrics_exporter'
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: