opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
Add instrumentation for some libc-related functions e.g. gethostbyname
trafficstars
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