# Mulesoft Cloudhub - Instrumenting via Java Tool Interface (JVM TI)

**URL:** <https://community.dynatrace.com/t/mulesoft-cloudhub-instrumenting-via-java-tool-interface-jvm-ti/33327>\
**Category:** OpenTelemetry\
**Tags:** technologies, opentelemetry, java\
**Created:** [November 19, 2021, 1:41pm UTC](https://community.dynatrace.com/t/mulesoft-cloudhub-instrumenting-via-java-tool-interface-jvm-ti/33327 "2021-11-19T13:41:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akader](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@akader](https://community.dynatrace.com/u/akader)\
**Post date:** [November 19, 2021, 1:41pm UTC](https://community.dynatrace.com/t/mulesoft-cloudhub-instrumenting-via-java-tool-interface-jvm-ti/33327/1 "2021-11-19T13:41:02Z")

</div>

Looking for some guidance on options for using OneAgent for Mule application on CloudHub.

The constraint: it is not possible to install software on the AWS EC2 host (worker) that is spun up when the application is deployed. One option I’m investigating is dynamically attaching native or shared libs for of agent as a custom Mule module/connector using the Java Tool interface.

I’m aware of the ActiveGate option for CloudHub which appears to use APIs to pull some data but this does not appear to include PurePaths.

Any help, guidance, or examples would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![david\_lopes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/david_lopes/32/27273_2.png) [@david\_lopes](https://community.dynatrace.com/u/david_lopes)\
**Post date:** [November 20, 2021, 3:40pm UTC](https://community.dynatrace.com/t/mulesoft-cloudhub-instrumenting-via-java-tool-interface-jvm-ti/33327/2 "2021-11-20T15:40:48Z")

</div>

You are correct, Cloudhub does not allow you to modify the JVM arguments, add external files, or modify the containers where the application runs. As it stands today it is not possible to get purepaths out of Cloudhub because of this.

There are customers reaching out to Cloudhub to at least include OpenTelemetry support, this way you could export the Spans to Dynatrace, and get the tracing done that way, I suggest you reach out to Cloudhub Support stating your interest in deep monitoring your applications and APIs.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [July 4, 2022, 5:49pm UTC](https://community.dynatrace.com/t/mulesoft-cloudhub-instrumenting-via-java-tool-interface-jvm-ti/33327/3 "2022-07-04T17:49:54Z")

</div>

Hi [@akader](https://community.dynatrace.com/user/46097) I have the same problem. I leave you the link to guide to do this. [https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-Generate-distributed-trace-information-from-Cloudhub/m-p/189831](https://community.dynatrace.com/post/189831)
