question

Babar Q. avatar image
Babar Q. asked ·

Custom Sensor for Co-relating two Java JVMs

Dear All,

We have a mobile application based on 'Akka' framework. The situation we are facing that there are two Java Tiers for the application and after instrumented the application there are two different isolated PurePaths for each Tier.

Below screenshots are the references to our queries.

  1. First screenshot transaction flow is from Mob App to Tier-I but not further

2. Second screenshot transaction flow is from Tier-II onward

After placed some custom sensors we are able to see the PurePaths and the PurePaths tree in the Tier-II.

How to combine these isolated PurePaths in a single transaction flow?

We do not have source code with us.

Regards,

Babar

configuration6.5javamobile monitoringsensor
trans-flow2.png (34.4 KiB)
trans-flow.png (64.5 KiB)
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Peter K. avatar image
Peter K. answered ·

One potential way is to use java aspects to "instrument" the interesting parts of the remoting API. For this to work you need:

- knowledge (ideally source code) about how akka makes these remote calls

- knowledge of the dynatrace appmon java tagging adk

- knowledge of java aspect oriented programming

You can combine these and basically insert the .jar with your aspect code into the jvm start-up command line. I don't have any knowledge about akka so I'm not sure how much effort this would be.

Even more longterm: create an RFE for us to support akka remoting

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Because of how Akka works, it is not possible to use the java tagging ADK here (you can ask Reinhard Pilz who worked with me on this for more details).

I think I created a RFE for Play and Akka when I was still working for Dynatrace but can't find it any more.

0 Likes 0 · ·