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

Missing instrumentation of Net::LDAP

Open jdehaan opened this issue 2 years ago • 9 comments

Not a bug, more a feature request.

At the moment Net::LDAP is not instrumented. As the login outcome and duration are often interesting to detect issues, it would be really nice to have this instrumented as well.

jdehaan avatar Sep 21 '23 10:09 jdehaan

We have very limited capacity and are in need of some additional instrumentation maintainers to help.

Would you be interested in contributing and maintaining this instrumentation?

arielvalentin avatar Sep 21 '23 10:09 arielvalentin

@jdehaan is that instrumented already somewhere (like DataDog, NewRelic, Elastic APM)? That could make it easier to introduce this by porting.

simi avatar Sep 21 '23 10:09 simi

I can look into it, we are starting a migration to opentelemetry. At the moment I do not know how others do, I just noticed the expected traces to the authentication service didn't show up on our setup and wanted to remedy to it. I think I could provide a contribution based on how Net::HTTP is done, as it looks to me quite similar.

jdehaan avatar Sep 21 '23 11:09 jdehaan

What library are you currently using for instrumentation?

arielvalentin avatar Sep 21 '23 11:09 arielvalentin

None actually: own Rails logging / fluentd :-)

jdehaan avatar Sep 21 '23 12:09 jdehaan

👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.

github-actions[bot] avatar Oct 22 '23 01:10 github-actions[bot]

We are experimenting a solution available here: https://github.com/tools-aoeur/opentelemetry-ruby-contrib/pull/2. It is in an early stage. Tests are not yet provided in a sufficient amount for instance.

Do you think the code looks well enough to initiate a PR here so it becomes more visibility?

PS: in the meanwhile we improved the state and merged inside our fork, we are testing this productively

jdehaan avatar Oct 22 '23 06:10 jdehaan

👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.

github-actions[bot] avatar Dec 03 '23 01:12 github-actions[bot]

Hi @jdehaan , I think the solution in https://github.com/tools-aoeur/opentelemetry-ruby-contrib/pull/2 looks great. Would you mind open the PR here and we can start the review.

xuan-cao-swi avatar May 07 '24 15:05 xuan-cao-swi