ONTAP Discussions

What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster"

Ruoyi
574 Views

When I query ONTAP cluster to get the performance metrics; dedicated URL /cluster/metrics doesn't work instead under the /cluster when explicit input of field parameter is provided it returns the data for the performance counters.

Formed URLs in both the scenarios looks as listed below :

1. https://ONTAP_CLUSTER_IP/api/cluster/metrics?interval=1h&return_timeout=15&return_records=true

     Returns 0 records

2. https://ONTAP_CLUSTER_IP/api/cluster?return_records=true&return_timeout=15&fields=metric

     Returns valid records

 

Is this expected behavior? 
If yes then what is the use of /cluster/metrics ?

0 REPLIES 0
Public