open-telemetry / open-telemetry/opentelemetry-python-contrib
unable to get any auto instrumentation to work for a GRPC server written in python
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 1.1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 16
Description
Hi All,
I am unable to get the auto instrumentation to work for the following server written in python https://github.com/lightstep/hipster-shop/blob/master/src/emailservice/email_server.py
I ran the server using the following command
opentelemetry-instrument --traces_exporter console python3 email_server.py
I was successfully able to invoke the server using https://github.com/lightstep/hipster-shop/blob/master/src/emailservice/email_client.py and I can see the requests hitting the server successfully as well however no spans had been generated not sure what else I need to do to see some spans?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with src/emailservice/email_server.py using opentelemetry-instrument --traces_exporter console python3 email_server.py, then invoke it through src/emailservice/email_client.py. Compare the server's behavior with the expected console exporter output and identify what is missing for spans to appear; done means the cause and required change are confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, python
- Domain
- backend, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100