Metrics & Debugging

Get Samply Profile

Required role: read or higher.

Retrieve the last samply profile of a pipeline, regardless of whether profiling is currently in progress. If ?latest parameter is specified and Samply profile collection is in progress, returns HTTP 307 with Retry-After header.

get/v0/pipelines/{pipeline_name}/samply_profile

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

pipeline_namestring required

Unique pipeline name

Query parameters

ordinalinteger

In a multihost pipeline, the ordinal of the pipeline to sample.

latestboolean

If true, returns 204 redirect with Retry-After header if profile collection is in progress. If false or not provided, returns the last collected profile.

Response

Samply profile as a gzip containing the profile that can be inspected by the samply tool. Note: may return 204 No Content with Retry-After header if latest=true and profiling is in progress.

Changes

No recorded changes to this operation across all 51 revisions of this API.