<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is the difference on ONTAP for the URLs&amp;quot;/cluster/metrics&amp;quot; and &amp;quot;/cluster&amp;quot in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448478#M42876</link>
    <description>&lt;P&gt;I also tried the OPs full link to /cluster/metrics, it also works on my ONTAP 9.12.1 as shown here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_0-1698593112216.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27117i4B6082C176492757/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_0-1698593112216.png" alt="elementx_0-1698593112216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I should add s51 is node management IP.&lt;/P&gt;&lt;P&gt;I also tried the link against cluster management IP - that also worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proper (unfiltered) output for /cluster, on the other hand, reveals it's not about performance, although it does contain the latest sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_0-1698593691361.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27118i21B6276BC2DCC2F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_0-1698593691361.png" alt="elementx_0-1698593691361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think the OP's questions are answered:&lt;/P&gt;&lt;P&gt;- /cluster/metrics provides historic high-level metrics&lt;/P&gt;&lt;P&gt;- /cluster provides cluster state with various cluster information (not related to performance) including just the latest sampling of high-level metrics&lt;/P&gt;&lt;P&gt;- additional metrics are available via &lt;A href="https://docs.netapp.com/us-en/ontap-automation/rest/performance_metrics.html" target="_blank" rel="noopener"&gt;other API methods&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it doesn't work on an older version after the metrics were introduced but before 9.12.1, I suggest checking the KB or contacting Support.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2023 15:36:16 GMT</pubDate>
    <dc:creator>elementx</dc:creator>
    <dc:date>2023-10-29T15:36:16Z</dc:date>
    <item>
      <title>What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster"</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/166563#M38152</link>
      <description>&lt;P&gt;When I query ONTAP cluster to get the performance metrics; dedicated URL &lt;STRONG&gt;/cluster/metrics&lt;/STRONG&gt; doesn't work instead under the &lt;STRONG&gt;/cluster&lt;/STRONG&gt; when explicit input of field parameter is provided it returns the data for the performance counters.&lt;/P&gt;&lt;P&gt;Formed URLs in both the scenarios looks as listed below :&lt;/P&gt;&lt;P&gt;1. &lt;A href="https://ONTAP_CLUSTER_IP/api/cluster/metrics?interval=1h&amp;amp;return_timeout=15&amp;amp;return_records=true" target="_blank"&gt;https://ONTAP_CLUSTER_IP/api/cluster/metrics?interval=1h&amp;amp;return_timeout=15&amp;amp;return_records=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Returns 0 records&lt;/P&gt;&lt;P&gt;2. &lt;A href="https://ONTAP_CLUSTER_IP/api/cluster?return_records=true&amp;amp;return_timeout=15&amp;amp;fields=metric" target="_blank"&gt;https://ONTAP_CLUSTER_IP/api/cluster?return_records=true&amp;amp;return_timeout=15&amp;amp;fields=metric&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Returns valid records&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this expected behavior?&amp;nbsp;&lt;BR /&gt;If yes then what is the use of&amp;nbsp;/cluster/metrics ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:25:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/166563#M38152</guid>
      <dc:creator>Ruoyi</dc:creator>
      <dc:date>2025-06-04T10:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster&amp;quot</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448436#M42871</link>
      <description>&lt;P&gt;I am facing the same issue. Do we have any solution for this?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:11:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448436#M42871</guid>
      <dc:creator>Navaneethakrishnan</dc:creator>
      <dc:date>2023-10-26T15:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster&amp;quot</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448444#M42873</link>
      <description>&lt;P&gt;Works fine for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Various records from the past hour (the most recent hour, sampled over 15 seconds - I got 239 of them back, which equals 59.75 minutes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_1-1698338617826.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27108i5EB55B38EF91225B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_1-1698338617826.png" alt="elementx_1-1698338617826.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Individual record:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_3-1698339192904.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27110i9D324C4D0292D3F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_3-1698339192904.png" alt="elementx_3-1698339192904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Is this expected behavior?&lt;/P&gt;&lt;P&gt;The above is exactly what I expected to see.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;gt; If yes then what is the use of /cluster/metrics ?&lt;/P&gt;&lt;P&gt;To help us retrieve &lt;STRONG&gt;historical&lt;/STRONG&gt; performance metrics for the cluster. That's what the documentation says and that's what it does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/cluster is not even related to metrics, although it happens to contain a set of the current performance metrics (which /cluster/metrics does not do) and some other information unrelated to performance metrics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_2-1698338682927.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27109i80E2F5CBBD9B2667/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_2-1698338682927.png" alt="elementx_2-1698338682927.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 16:57:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448444#M42873</guid>
      <dc:creator>elementx</dc:creator>
      <dc:date>2023-10-26T16:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster&amp;quot</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448457#M42874</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/51308"&gt;@elementx&lt;/a&gt;&amp;nbsp;. Thanks for the detailed explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I didn't any records from /cluster/metrics API. I can get the current metrics from /cluster API.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;do I need to enable anything in cluster level to get the historical data?&amp;nbsp;&lt;BR /&gt;Note:&lt;BR /&gt;Cluster version: 9.9.1&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 10:45:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448457#M42874</guid>
      <dc:creator>Navaneethakrishnan</dc:creator>
      <dc:date>2023-10-27T10:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster&amp;quot</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448458#M42875</link>
      <description>&lt;P&gt;The first difference may be I went to: &lt;A href="https://${CLUSTER_IP}/api/cluster/metrics?interval=1h," target="_blank"&gt;https://${CLUSTER_IP}/api/cluster/metrics?interval=1h&lt;/A&gt;&amp;nbsp;which is slightly shorter than the URL from the original post. I haven't tried the OP's full example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second may be that my ONAP is 9.12.1 which is reasonable considering it's been around for a while and the OP doesn't specify any particular version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ONTAP 9.9.1 has the same method so I think my URL should work the same but if it doesn't then it may be ONTAP 9.9.1-specific. In that case I would check the KB or ask Support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe someone with 9.9.1 can verify what they see on their end.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 10:53:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448458#M42875</guid>
      <dc:creator>elementx</dc:creator>
      <dc:date>2023-10-27T10:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference on ONTAP for the URLs"/cluster/metrics" and "/cluster&amp;quot</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448478#M42876</link>
      <description>&lt;P&gt;I also tried the OPs full link to /cluster/metrics, it also works on my ONTAP 9.12.1 as shown here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_0-1698593112216.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27117i4B6082C176492757/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_0-1698593112216.png" alt="elementx_0-1698593112216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I should add s51 is node management IP.&lt;/P&gt;&lt;P&gt;I also tried the link against cluster management IP - that also worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proper (unfiltered) output for /cluster, on the other hand, reveals it's not about performance, although it does contain the latest sample.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elementx_0-1698593691361.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/27118i21B6276BC2DCC2F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="elementx_0-1698593691361.png" alt="elementx_0-1698593691361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think the OP's questions are answered:&lt;/P&gt;&lt;P&gt;- /cluster/metrics provides historic high-level metrics&lt;/P&gt;&lt;P&gt;- /cluster provides cluster state with various cluster information (not related to performance) including just the latest sampling of high-level metrics&lt;/P&gt;&lt;P&gt;- additional metrics are available via &lt;A href="https://docs.netapp.com/us-en/ontap-automation/rest/performance_metrics.html" target="_blank" rel="noopener"&gt;other API methods&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it doesn't work on an older version after the metrics were introduced but before 9.12.1, I suggest checking the KB or contacting Support.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 15:36:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/What-is-the-difference-on-ONTAP-for-the-URLs-quot-cluster-metrics-quot-and-quot/m-p/448478#M42876</guid>
      <dc:creator>elementx</dc:creator>
      <dc:date>2023-10-29T15:36:16Z</dc:date>
    </item>
  </channel>
</rss>

