Retrieves a list of registered custom metrics.
| 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. |
| KEY | TYPE | DESCRIPTION |
|---|---|---|
| success | Boolean | true if the call succeeded, false if there was an error |
| result | list[CustomMetric] |
| TYPE | WHEN |
|---|---|
| InvalidEnumParameterError | An invalid value is passed for |
| InvalidParameterError | If the custom metric type or name is invalid. |