Method
listCustomMetrics GET
Copy GET

Retrieves a list of registered custom metrics.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
No namePrefix str The prefix of the names of the custom metrics.
No problemType str The associated problem type of the custom metrics.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result list[CustomMetric]

Exceptions:

TYPE WHEN
InvalidEnumParameterError

An invalid value is passed for problemType.

InvalidParameterError

If the custom metric type or name is invalid.

Language: