ONTAP Rest API Discussions
ONTAP Rest API Discussions
Hello,
I noticed that in migration guide to the REST api there is no equivalent for the perf-object-get-instances or any of the performance counters that are used in the ontap api. Furthermore, it appears that the /private/cli api does not respond to `statistics aggregate show` for instance if I'm using `/private/cli/statistics/aggregate` for instance. Is there a remedy for this or is my only option to continue to use the ontapapi?
Please advice.
Thanks,
Thomas
Solved! See The Solution
Quick update on Perf counters, Initial set of instances are supported in ONTAP 9.11.1 release. Request to check on the latest Online reference document below,
https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html#/cluster/counter_table_collection_get
Mapping document of ONTAPI (ZAPI) to ONTAP REST - https://library.netapp.com/ecm/ecm_download_file/ECMLP2882104
In ONTAP 9.7 and above, there is an endpoint for gathering metrics about each aggregate: /api/storage/aggregates/{uuid}/metrics. From this, you can get information about the latency, throughput, and iops over a given interval. Is this what you're looking for?
Latency, throughput, iops is great but that's quite a bit smaller number of counters than the ontap api provided (order of hundreds of various performance counters) across the different components. Is the plan to not support those at all in the future?
You can expect more counters to be exposed with later ONTAP versions, although I don't have any special insight into the plans. If there's something you need and don't see, it's worth making a request to the support team to have it prioritized.
Quick update on Perf counters, Initial set of instances are supported in ONTAP 9.11.1 release. Request to check on the latest Online reference document below,
https://library.netapp.com/ecmdocs/ECMLP2882307/html/index.html#/cluster/counter_table_collection_get
Mapping document of ONTAPI (ZAPI) to ONTAP REST - https://library.netapp.com/ecm/ecm_download_file/ECMLP2882104