One Agent Java Features

I would like to know what risks and benefits there are for turning on the following OneAgent Java features. For each one, what exactly do I get that’s new when turned on? I tried looking for documentation on these features but couldn’t find much.

  • Java CompletableFuture
  • Java gRPC
  • Java HTTP Client
  • Java internal HTTP server
  • Java Project Reactor Core v3 tracing
  • Java Spring Integration
  • Java/Scala Akka Remoting
  • Reactor Netty Http Client

Those flags enable support for instrumenting the particular libraries in your Java applications. If you use any of the features in your application, you have to enable the flags. Otherwise, traces will be incomplete. 
All of the features are already in the product for quite a while and there is no risk of enabling them.

Do you know if some of those OneAgent features such as Java Spring Integration and Java/Scala Akka Remoting come with more than tracing? Like do any of these also come with deep code insights and/or new metrics?

As far as I know, those two cover tracing only, no new metrics are provided. What deeper code insights do you mean?

Method hotspots, error/exception analysis, memory profiling, and thread analysis.

You might have some extended visibility there, too when it comes to method hotspots. Reactive applications are good example - without the tracing support, you won’t be able to see method hotspots for all stacktrace samples when requests are processed in different threads and Dynatrace is not tracking them.

Enabling tracing support is crucial. It’s perfectly safe to enable them.

you need to also look at each feature and release notes to get as much details as possible.  Dynatrace does not always do a great job of documenting it completely

Release notes:

https://www.dynatrace.com/support/help/whats-new/release-notes/oneagent/sprint-175#expand--oneagent-1-175-or-java-completablefuture--2

How we are handling OneAgent Features at my company:

Steps to enable OneAgent Feature: (At this time, the strategy is to enable one at a time as needed by tenant)

  1. Email DT team of intentions of turning on in all environments/by region (UK, NA, APAC)
    1. Give date for DEV
  2. Turn on in DEV at tenant level and send out email to DT team
    1. Provide date of when reports need to be back to DynaTrace Admins if issues
    2. Give date for UAT
  3. Open change for UAT
  4. Complete change in UAT at tenant level
    1. Send email to collaboration channel that work is completed
    2. Provide date of when reports need to be back to Dynatrace Admins if issues
  5. Change to turn in Prod on at least 3 different hosts/process groups to confirm no issues
  6. Give date for PROD to DT team
  7. Open change for Prod
  8. Complete change in Prod tenant wide
    1. Send email to DT teamthat work is completed