Skip to navigation

Get element metrics data.

View as Markdown
Retrieve metrics data for a specific workload structure element. Requires cluster version 2.25 or later.

Authentication

AuthorizationBearer
Bearer authentication

Path parameters

workloadIdstringRequiredformat: "uuid"

The Universally Unique Identifier (UUID) of the workload.

elementIdstringRequiredformat: "uuid"
The unique identifier of the structure element.

Query parameters

metricTypelist of enumsRequired
Specify which metric data to request for the element.
startdatetimeRequired
Start date of time range to fetch data in ISO 8601 timestamp format.
enddatetimeRequired
End date of time range to fetch data in ISO 8601 timestamp format.
numberOfSamplesintegerOptional0-1000Defaults to 20
The number of samples to take in the specified time range.

Response

Executed successfully.
measurementslist of objects
histogramlist of objects or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error