HowTo instrument mongoDB calls with apm when using mongo atlas

APM Agent language and version:
'co.elastic.apm:apm-opentracing:1.7.0',
'co.elastic.apm:apm-agent-api:1.7.0'
Hello,
We are using the mongo atlas db as cloud service, so we can't instrument apm an server side.
How can we instrument apm on client side?
We are using the newest mongo java driver 3.10 on clientside.
Kind regards
Peter

Hi Peter,

Thanks for this followup question :slight_smile:
Unfortunately, we currently don't support mongo DB clients. You are welcome to open an issue in our GitHub issue so that people and vote it up. It is on our radar, but not for the immediate term and no concrete plans.

For the mean time you can either use the public API to trace your code that uses the MongoDB client, look for an OpenTracing instrumentation (like this one?) or write a MongoDB instrumentation plugin :slight_smile:

I hope this helps.
Eyal.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.