opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Add instrumentation for some libc-related functions e.g. gethostbyname

Open semekh opened this issue 1 year ago • 0 comments
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

semekh avatar Jul 07 '24 10:07 semekh