Code profiling is currently only supported by the .NET agent for Windows.
Code profiling provides extra insight into code level execution time that is otherwise not captured by auto-instrumentation. See code profiling for general information.
AppOptics .NET agent version 3.7.0 or later is required for code profiling.
- Profiling information has granularity base on profiling interval (default is 50ms), and is configurable in profiler settings.
- .NET class name and method name will be collected.
- Asynchronous operations that are part of a request will not have profiling information captured.
- Code profiling is disabled by default, please refer to enabling code profiling.
- Traces with duration shorter than the configured profiling interval (default is 50ms) might not have profiling information.
- Overhead might be more noticeable in systems with high number of threads. To reduce overhead, increase code profiling interval such that the agent would take snapshots less frequently.
- "UNKNOWN" accounts for occasions where the agent failed to obtain snapshots on the given interval. Various conditions can trigger missing snapshots, for example high CPU load.
- "UNMANAGED CODE" indicates that when the snapshot was attempted the code being executed was unmanaged code and the stack trace was not able to be taken.
- SNAPSHOT NOT TAKEN indicates that the snapshot was attempted but the thread was not in a state where the stack trace could be taken.
When the APM Integrated Experience is enabled, AppOptics shares a common navigation and enhanced feature set with the other integrated experiences' products. How you navigate AppOptics and access its features may vary from these instructions. For more information, go to the APM Integrated Experience documentation.