open-telemetry / open-telemetry/opentelemetry-python-contrib
Add instrumentation for some libc-related functions e.g. gethostbyname
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 1.1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 16
Description
What problem do you want to solve?
I was trying to trace an http request with duration=5s only to find out that the issue was related to name resolution and not the request processing itself. This is not limited to http requests, and could happen to any other socket-related functionalities.
Describe the solution you'd like
I'd like to be able to have spans related to libc-backed functions like gethostbyname so that all such calls get traced automatically.
Describe alternatives you've considered
No response
Additional Context
No response
Would you like to implement a fix?
None
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
No source file, test, or entry point is named. Start by locating the existing instrumentation entry points for socket or name-resolution calls and determine how libc-backed functions such as gethostbyname could be covered. Done means the supported libc-related calls produce useful tracing spans without being limited to HTTP requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100