apm-agent-nodejs icon indicating copy to clipboard operation
apm-agent-nodejs copied to clipboard

Agent Can't track oracle sql requests

Open ridakaddir opened this issue 7 years ago • 10 comments
trafficstars

Hi community,

I have an issue with the node js agent, when I execute a SQL request on my Oracle data base I can't see any information about the request However it works for postgresql requests

Any explication

Thanks,

ridakaddir avatar Aug 29 '18 20:08 ridakaddir

The Node.js agent currently does not support automatic instrumentation of Oracle queries. You can see a list of all supported modules here on our Compatibility page.

I can understand from your Discuss post that you're using the oracledb package. We would have to add support for that to automatically instrument your Oracle queries.

Though not as elegant, for now you can manually trace your Oracle queries by using our Custom Span API.

watson avatar Aug 30 '18 10:08 watson

thanks watson for the explanation, did you planned the oracledb support ?

ridakaddir avatar Aug 31 '18 12:08 ridakaddir

It's not on our roadmap at the moment. But I'll make sure to bring it up with the team at the next planning meeting

watson avatar Aug 31 '18 12:08 watson

For now please leave this issue open 😃

watson avatar Aug 31 '18 12:08 watson

Has anyone found solution or workaround ?

Adizbek avatar Oct 26 '20 11:10 Adizbek

as @watson, you can manually trace your Oracle queries by using Custom Span API https://www.elastic.co/guide/en/apm/agent/nodejs/current/custom-spans.html

ridakaddir avatar Oct 26 '20 12:10 ridakaddir

Hi,

Is it a planned feature to have automatic instrumentation of Oracle queries when using the oracledb package? If that is the case, any ETA?

Thanks!

FedeOmoto avatar Nov 13 '20 13:11 FedeOmoto

@FedeOmoto We don't have any immediate plans to add automatic instrumentation of oracle queries at this time, but we'll pass on the feature request. Also (as always) we're super open to a PR from the community to add this functionality. Is there a specific npm oracle library that you're using/interested in?

In the meantime, we do have a relatively straight forward API for starting individual spans. While it's not as nice as automatic instrumentation, manual instrumentation of your queries is one solution if you're using oracle right now.

astorm avatar Nov 23 '20 19:11 astorm

+1

sk8federico avatar Mar 01 '21 03:03 sk8federico

+1

pszemesy avatar Dec 05 '23 08:12 pszemesy