Monitoring & Collection/Profiling
POSTProfilingSince 1.0SynchronousAuth Required
DiffSessions
Compare two profiling sessions and return the diff result.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
baseIdStringRequiredSession ID to use as the base in the diff.
Example: sess-base001
compareIdStringRequiredSession ID to compare against the base.
Example: sess-cmp002
typeStringRequiredProfile type shared by both sessions being compared.
Example: goroutine
Responses
Endpoint
POST/api/v1/profiling/diff
/api/v1/profiling/diff
Request Example
curl -X POST '{host}/api/v1/profiling/diff' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"baseId":"sess-base001","compareId":"sess-cmp002","type":"goroutine"}'
Response Example
200{
"baseSessionId": "sess-base001",
"compareSessionId": "sess-cmp002",
"newStacks": [
{}
],
"growthCount": 37
}Change History
This API has no change history records yet.
