# DCP (Discovery and basic Configuration Protocol) support

**URL:** <https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [September 13, 2021, 8:34am UTC](https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671 "2021-09-13T08:34:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias-Versio](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias-versio/32/13286_2.png) [@Matthias-Versio](https://community.dynatrace.com/u/Matthias-Versio)\
**Post date:** [September 13, 2021, 8:34am UTC](https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671/1 "2021-09-13T08:34:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [September 22, 2021, 5:45pm UTC](https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671/2 "2021-09-22T17:45:09Z")

</div>

[@Matthias-Versio](https://community.dynatrace.com/user/21416)&nbsp;were you able to get any information on this?

---

<div class="post-metadata">

**Author:** ![Matthias-Versio](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias-versio/32/13286_2.png) [@Matthias-Versio](https://community.dynatrace.com/u/Matthias-Versio)\
**Post date:** [September 23, 2021, 7:40am UTC](https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671/3 "2021-09-23T07:40:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [September 23, 2021, 7:58am UTC](https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671/4 "2021-09-23T07:58:38Z")

</div>

[@Matthias-Versio](https://community.dynatrace.com/user/21416)&nbsp; 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,&nbsp; understands it and is willing to cooperate. Especially true for closed systems and 3rd party vendors.

---

<div class="post-metadata">

**Author:** ![Matthias-Versio](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias-versio/32/13286_2.png) [@Matthias-Versio](https://community.dynatrace.com/u/Matthias-Versio)\
**Post date:** [October 4, 2021, 8:32am UTC](https://community.dynatrace.com/t/dcp-discovery-and-basic-configuration-protocol-support/32671/5 "2021-10-04T08:32:22Z")

</div>

Hello&nbsp; [@Julius\_Loman](https://community.dynatrace.com/user/3364) ,

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
