CreateBaseline
Create a new performance baseline from a profiling session.
/api/v1/profiling/baselinesOperation ID
CreateBaselineSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
labelStringRequiredHuman-readable label for the new baseline.
Example: v1.2.0-release
sessionIdStringRequiredSession identifier to use as the source of this baseline.
Example: sess-abc123
profileTypeStringRequiredProfile type this baseline represents.
Example: cpu
descriptionStringRequiredOptional description providing context for this baseline.
Example: Post-deploy baseline for v1.2.0
topFunctionsListRequiredTop functions captured from the source session.
Example: (nested array)
funcNameStringFully-qualified function name including package path.
Example: runtime.gcBgMarkWorker
packageStringGo package that contains this function.
Example: runtime
selfPctLongPercentage of samples attributed solely to this function.
Example: 12.5
cumulativePctLongPercentage of samples including callees of this function.
Example: 18.3
sampleCountStringAbsolute number of profiling samples collected for this function.
Example: 4200
