监控与采集相关接口/性能剖析
POSTProfiling起始版本 1.0同步需要认证
捕获堆
捕获堆剖析快照指定目标。
调试可用性
在线调试
使用当前认证信息和示例参数提交 Mock 请求。
请求参数
请求体字段
targetString必填目标对象。
示例: my-service:6060
响应状态
请求地址
POST/api/v1/profiling/heap/capture
/api/v1/profiling/heap/capture
请求示例
curl -X POST '{host}/api/v1/profiling/heap/capture' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"target":"my-service:6060"}'
响应示例
200{
"sessionId": "sess-abc123",
"profileType": "goroutine",
"target": "my-service:6060",
"createdAt": "example",
"status": "completed",
"rawDataSizeBytes": 204800
}变更历史
此 API 暂无变更历史记录。
