When calling the Metrics API, I am getting a 500 error when trying to pull metrics by group.
For example,
<host>/uimapi/metrics?id_lookup=by_group_id&id=142&metric_type_lookup=by_metric_name&metricFilter=QOS_CPU_USAGE
This seems to be limited to groups with 50 or more devices in them. Metric API calls against smaller device groups works fine.
How can we get these API calls to not return 500 errors?
ERROR com.ca.uimapi.services.controller.MetricResource:getMetricV0:462 controller.MetricResource - getMetric() failed:
java.lang.NullPointerException: null
<ErrorResponse>
<status>500</status>
<errorCode>500 INTERNAL_SERVER_ERROR</errorCode>
<errorMsg>An error occurred while performing the operation. Please check logs for additional information.</errorMsg>
<errorDetail/>
<timestamp>2024-11-04T19:47+0000</timestamp>
</ErrorResponse>
Note: this was working before a recent upgrade.
The fix for this issue is planned for the next cumulative update(CU3) which is due to be releasd on or about mid-January.