Skip to content

Automatic instrumentation vs manual - when and how? #3068

Answered by pjanotti
dominikjeske asked this question in General
Discussion options

You must be logged in to vote
  1. When we are using manual approach - is there any byte code instrumentation?

No, there isn't.

  1. About side by side CLR Profiles - can I use automatic instrumentation on same machine with Dynatrace agent?

No, only a single CLR Profiler can be used for .NET/.NET Framework application. There are some projects that allow multiplexing CLR profilers into a single project but it is hard to guarantee that they won't interfere with each other. If you Dynatrace agent deploys a CLR Profiler (and I think it does) you can't have the bytecode instrumentation from this project. However, you can still use the StartupHook to automatically add OTel instrumentations to your application. Once more: in t…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@pjanotti
Comment options

Comment options

You must be logged in to vote
1 reply
@pjanotti
Comment options

Comment options

You must be logged in to vote
2 replies
@pjanotti
Comment options

Answer selected by dominikjeske
@dominikjeske
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants