i want to enable RUM V2 in my environment, but there are few informations in documentation about it (maybe because it’s an early adopter). In screen below there is a switch On/Off:
You can go ahead and enable it if you are using java web/app servers for RUM.
Documentation is internal and nothing is publicly available. Most of the changes are architectural to solve certain quirks that the older version had and you won’t really see any noticeable impact after enabling it
I have to add to / refute parts of Chads statement!
v2 (very bad choice for the name) was maybe initially planned to “improve” or supersede the existing version. However, since v2 is technically different and tries to tackle different cases it should be seen as an alternative approach not an improved version! Hence, if everything works find now and you don’t have any class cast exceptions (that’s what v2 its build for) then I strongly recommendto stick with the existing version and not enable v2.
Heads up here: we will “remove” v2 from the UI in the foreseeable future and only make it available for our support teams to enable it / switch between the approaches if needed. v2 will be an “alternative approach” and therefore a troubleshooting “feature” only. To correctly call it by the name!
i want to explain my answer. I have an application that run in Webmethods Application server. This Webmethods is officially supported, but RUM injection doesn’t work. I opened a ticket to Dynatrace support and they told me that RUM is not supported because this application doesn’t use Java Servlet (processes instrumentation is OK). Also, they told me to try ith RUM V2, but there are few chances that it works.
If I were you, and since “This Webmethods is officially supported” I would push Support to properly troubleshoot this case! If its not because of class cast exception than they have to properly follow it up with development and they have to check whether and how we can fix this. In my humble opinion as simple as that!
And please feel free to mention me in the ticket then I can also follow the ticket!
Thank you @Thomas Z.! Support told me that Webmethods are supported for OneAgent instrumentation, but RUM is not supported. This is ad extract from support answer:
“First of all there is no official support for RUM for WebMethods Integration Server 0 in other words Dynatrace OneAgent is not able to inject JS library into its HTML pages because these are not Web request services but web services. The documentation only says that OneAngent is able to monitor “Java internals” of this product but not injecting RUM portion.
RUM is supported only for “Java servlet-based web applications” and we don’t inject RUM into webMethods, as they use something different than servlets and marked as webService which means XML/JSON. Anyway we had once a customer who swiched Java Monitoring to V2 and for WebMethods and it worked well.”
"if we don’t use Servlets than there are small chances RUM V2 will help, sorry … "
So, i don’t know if open a new support ticket or try RUM V2…
Cool thanks for your reply. Is it a big problem for you to find out a little more info about the difference? Or is this what should be done by way of a ticket?
Both approaches instrument the Java Servlet API, but in different ways.
The servlet API provides wrappers for request and response objects. In V1, the approach is that we send our own wrappers on the journey, which then take care of things like JS agent injection. However, this can lead to ClassCastExceptions because the customer app expects a different type (i.e., not our wrapper).
That’s why V2 has been build which doesn’t use wrappers, and the ClassCastException no longer occurs because of it.
Hey Thomas,
Have there been any updates on the naming for this feature or its removal (support only)?
I got feedback from a team that it would be good to mark it as an alternative/experimental rather than “opt-in”.