We have a Node JS microservice that processes any new event/message available in Kafka topic and then makes a rest call to another microservice (Java) to fetch additional details.
But we are unable to see any of these traces captured in Dynatrace. We don't have Dynatrace on Kafka Infra but we are expecting to capture the communication between NodeJs microservice to other microservice (Java technology) in our application. We want to monitor how much time it is consuming between these microservices.
Any idea how can I capture those traces?
Solved! Go to Solution.
I'm not absolutely sure here, but I think Kafka tracing is not yet publicly released and should be available as a preview at the moment.
The other method would be to adapt oneagent sdk and send the trace ids from your code - if this is acceptable for you and you can change your source code.
please also make sure that the channel and host information provided to traceOutgoingRemoteCall() match the actual target microservice. In that case you can expect to get a consistent trace across your services.
we are currently researching possibilities to support specific Kafka clients for Node.js out of the box. Which Kafka client (e.g.: kafkajs, node-kafka,..) are you using in your Node.JS microservice?