Monitoring & Collection/Profiling
POSTProfilingSince 1.0SynchronousAuth Required
CaptureHeap
Capture a heap profile snapshot from the specified target.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
targetStringRequiredTarget service endpoint to capture heap profile from.
Example: my-service:6060
Responses
Endpoint
POST/api/v1/profiling/heap/capture
/api/v1/profiling/heap/capture
Request Example
curl -X POST '{host}/api/v1/profiling/heap/capture' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"target":"my-service:6060"}'
Response Example
200{
"sessionId": "sess-abc123",
"profileType": "goroutine",
"target": "my-service:6060",
"createdAt": "example",
"status": "completed",
"rawDataSizeBytes": 204800
}Change History
This API has no change history records yet.
