Answer by Christian S. ·
hi,
no, dynatrace does not do statement level instrumentation.
dynatrace allows you to instrument bytecode based on method level, but it's also not recommended to instrument all methods (something we use to call "shotgun instrumentation").
reason for that is simple: overhead! if you instrument all methods, you will for sure end up with an overhead, which may be acceptable in developer environments or maybe for test runs, but not in production at all.
so with dynatrace you can get all the method call relevant information you want about your application, but always keep the overhead in mind when you set up your sensor rules.
best, Christian
Answer by Srinvas J. ·
Hi Rob,
Dos it mean dynatrace does not do statement level instrumentation when it comes to Java?
We were planning leverage dynaTrace PurPath to compare path of execution(not just method hierarchy change but also lines in a method).
Appreciate your response.
Thanks
Srinivas
Answer by Rob V. ·
Hi Rafal,
Not in the conventional sense since dynaTrace is not a code coverage analysis tool. However, we do capture "what happens for real" so in that sense you can look to dynaTrace to show you what methods (and database calls, etc) are actually getting executed. Many people I work with find this to be very useful.
Rob
JANUARY 15, 3:00 PM GMT / 10:00 AM ET