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

ext/pymongo instrumentation sets Status description to a dictionary instead of a string #641

Closed
codeboten opened this issue May 3, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good first issue help wanted

Comments

@codeboten
Copy link
Contributor

Describe your environment
Python 3.8.2 Docker container environment

Steps to reproduce

  1. setup opentelemetry collector
  2. run pymongo example configured to export to opentelemetry collector

What is the expected behavior?
Spans are exported to my opentelemetry collector

What is the actual behavior?
No spans were reported and no error was visible

Additional context
The pymongo instrumentation sets the description argument to a dict here:

span.set_status(Status(StatusCanonicalCode.OK, event.reply))

This causes the otcollector exporter throws an exception on, which has been addressed in #640

@codeboten codeboten added bug Something isn't working good first issue Good first issue help wanted labels May 3, 2020
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this issue Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good first issue help wanted
Projects
None yet
Development

No branches or pull requests

2 participants