🔍 Observability

Collect and return a CPU profile for the current nodejs process

Uses the Node.js inspector profiler to capture a .cpuprofile

get/api/server/debug/cpu

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/server/debug/cpu
  • Auth: API key in header X-Api-Key

Query parameters

secondsnumber
Example:30

How many seconds to sample CPU

Changes

No recorded changes to this operation across all 1 revision of this API.