# JavaScript Agent injection on Netty

**URL:** <https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, javascript\
**Created:** [October 12, 2020, 7:33am UTC](https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526 "2020-10-12T07:33:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [October 12, 2020, 7:33am UTC](https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526/1 "2020-10-12T07:33:13Z")

</div>

Hello,

Is there any chance to automatically inject the JSAgent to HTML which is delivered by Netty/Vert.x.  
Based on what I’ve seen I’d assume no.

I’m working with a setup where Vert.x/Netty serves a reactive page and there is no other webserver/proxy (except istio ingress) in front of this service, so the only way to inject would be on Netty, or do it manually (with all the drawbacks of it e.g. updating the agent upon config change…)

Apart from that: there is no support for Vert.x for tracing purepaths either, or did someone get this to work (guess with AgentSDK?)

Thanks!

---

<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:** [October 20, 2020, 9:17pm UTC](https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526/2 "2020-10-20T21:17:14Z")

</div>

unfortunately it looks like it is somewhat unsupported at the moment. Netty and Vert.x will be picked up by the OneAgent but will lack full visibility into transactions. You would have to instrument the Vert.x request handler with the OneAgent SDK

---

<div class="post-metadata">

**Author:** ![\_Alexander](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/_alexander/32/23720_2.png) [@\_Alexander](https://community.dynatrace.com/u/_Alexander)\
**Post date:** [July 22, 2022, 7:55am UTC](https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526/3 "2022-07-22T07:55:19Z")

</div>

Hi [@r\_weber](https://community.dynatrace.com/user/35901),

we have some improvements on our roadmap that can help you to get end-to-end visibility:

- Netty server user action to distributed trace correlation
- Vert.x HttpClient and Web client tracing

[Dynatrace technology support roadmap](https://community.dynatrace.com/post/183451#U183451)

Best regards,

Alex

---

<div class="post-metadata">

**Author:** ![nanand3](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nanand3](https://community.dynatrace.com/u/nanand3)\
**Post date:** [July 6, 2023, 2:04pm UTC](https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526/4 "2023-07-06T14:04:59Z")

</div>

Automatic injection of JS agent is still not supported for Netty. It looks for any supported web tier in front to do the automatic injection like nginx.

When can Netty allow the automatic injection of JS snippet into the html and sending beacon as a response to DT server.

We have 5-6 applications where we are manually injecting JS snippet due to the limitations with Netty not supporting automatic injection.

Any tentative timeline would be really helpful here.&nbsp;[@\_Alexander\_](https://community.dynatrace.com/user/4565)

---

<div class="post-metadata">

**Author:** ![\_Alexander](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/_alexander/32/23720_2.png) [@\_Alexander](https://community.dynatrace.com/u/_Alexander)\
**Post date:** [July 27, 2023, 9:25am UTC](https://community.dynatrace.com/t/javascript-agent-injection-on-netty/20526/5 "2023-07-27T09:25:00Z")

</div>

Hi&nbsp;[@nanand3](https://community.dynatrace.com/user/54615),&nbsp;RUM auto-injection is unfortunately not planned for the near future, but we plan to improve the RUM correlation to support more use cases in the context of page load HTML and static resources.

Best regards,  
Alex
