13 Sep 2021 09:34 AM
Hello all,
Does anyone have experience with DCP request in and out of a Java application. Maybe someone also knows the methods to instrument.
Regards
Matthias
Solved! Go to Solution.
22 Sep 2021 06:45 PM
@Matthias-Versio were you able to get any information on this?
23 Sep 2021 08:40 AM
Hi Chad,
we have a Manufacturing Execution System (MES) based on Java technology. The MES make request to equipments (equipments are separate machine in factory) based on the DCP protocol. It is clear that Dynatrace can't detect the purepath entry from equipment to MES and other way around. For this reason, we want to instrument the DCP methods in Java to see the incoming and outgoing transactions (requests) in Dynatrace. Does this help?
Regards Matthias
23 Sep 2021 08:58 AM
@Matthias-Versio the approach I usually take when instrumenting "unknown" application is to look at method hotspots and determine your points of interest. Be sure to have a "wide" time range. Also - don't forget to use the CPU profiler and look also at method hotspots from there. Sometimes the requests are in separate threads running on some pre-initialized thread pools and you won't have any Dynatrace services detected.
Then look at the stackframes and download and decompile interesting classes and then put your custom services where it makes sense.
It's time-consuming, however still much faster than finding someone who has the code, understands it and is willing to cooperate. Especially true for closed systems and 3rd party vendors.
04 Oct 2021 09:32 AM
Hello @Julius_Loman ,
thanks for your approach!
We made it a bit easier for ourselves and defined a good entry point for the instrumentation with the developers. This worked great and after that it is as always easy in Dynatrace.
Regards Matthias