-
Notifications
You must be signed in to change notification settings - Fork 645
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
TypeError: http_status_to_status_code() got an unexpected keyword argument 'server_span' #811
Comments
You seem to be mixing 0.24 and 0.26 releases of instrumentation packages. They must be on the same version. Either downgrade the 0.26 ones to 0.24 or upgrade everything to 0.26.
|
I'm surprised how pip even installed these as we set requirements explicitly to the corresponding version. For example, https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-wsgi/setup.cfg#L45 |
Very weird, guess it has something to do with requirements order and some dependency of another package since we do not enforce any specific version. Thanks! |
I'd highly recommend to pin all opentelemetry packages with versions less than 1.0 or things will keep breaking unexpectedly for you :) |
Thanks for all your help! |
Describe your environment
python 3.7-slim
pip freeze
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
What is the expected behavior?
No exception being thrown, some HTTP requests are failing due to this
What is the actual behavior?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: