RousselTMLEARNING

Observability

Profiling & Optimization in Dynatrace

Find the code lines consuming CPU and memory with continuous profiling.

1. What is Profiling & Optimization for? #

Find the code lines consuming CPU and memory with continuous profiling.

The principle #

Profiling & Optimization groups code-level analysis: continuous CPU profiling of processes, services and requests, memory analysis and crash tracking. Languages supported for CPU: Java, .NET, PHP, Node.js and Go.

Profiling & Optimization : Process → Continuous profiling → Hotspots → Optimization

2. Key features #

What the app offers.

Overview #

FeatureRole
Continuous CPU profilingPick a process group, then the Method hotspots page
Top APIsProcess time split by API
Call hierarchyForward stack traces
HotspotsTop three hotspots, reverse stack traces
Mémoire et plantagesMemory dumps, allocations, process crash tracking

3. Getting started #

First steps.

Step by step #

  1. Open Profiling & Optimization, then Continuous CPU profiling.
  2. Choose the process group, then a process.
  3. Read hotspots and walk up the call hierarchy.
  4. Compare before and after your fix.

Prerequisites #

  • OneAgent in Full-Stack mode on the processes concerned.
  • Downloading source code (Java, .NET, Node.js) requires the View sensitive request data permission.
Method. Profile under representative load: a hotspot measured on an idle service says nothing about production.

Sources #

From the official documentation consulted in November 2026: labels and availability change with platform versions.

Related articles

Accessing the Dynatrace playground and getting started

The Dynatrace playground is a demo environment full of real data: how to access it, what it allows and does n…

Grail buckets in Dynatrace: creation, routing, retention, rights and costs

Complete guide to Grail buckets: purpose, default buckets, creation in Storage management, with the API or Te…

The Dynatrace QuickStart app: getting your first data in minutes

Discover the QuickStart app: add data with Auto Discovery or a dedicated tile, read Findings, explore with da…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!