<?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>ilijaaf Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>ilijaaf Tracker</description>
    <pubDate>Fri, 17 Nov 2023 23:21:46 GMT</pubDate>
    <dc:date>2023-11-17T23:21:46Z</dc:date>
    <item>
      <title>Unable to retrieve performance metric for a vm</title>
      <link>https://communities.vmware.com/t5/VMware-code-Discussions/Unable-to-retrieve-performance-metric-for-a-vm/m-p/2971254#M2278</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to retrieve advanced performance metrics via a vmware API, but I can't figure out how (even after trying documentation and googling).&lt;/P&gt;&lt;P&gt;I want to get power usage data for single VMs in an ESXI Cluster. I am able to see a chart based based on this data in vSphere representing the power usage by clicking on VM &amp;gt; Monitor &amp;gt; Performance &amp;gt; Advanced.&lt;BR /&gt;&lt;BR /&gt;I am using the System Version&amp;nbsp;&lt;SPAN&gt;7.0.3.01300&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried the routes&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/rest/vcenter/vm/my-vm-id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;which unfortunately does not contain the power usage metrics&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/api/stats/data/dp?metric=power.capacity.usage&amp;amp;types=VM=my-vm-id&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;trying to specify the vm id and vm type in varous combinations always receiving the error message:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Invalid&amp;nbsp;data&amp;nbsp;points&amp;nbsp;filter&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any thoughts/advice on this?&lt;BR /&gt;&lt;BR /&gt;(Please excuse me if the location of the post is wrong - this is my first post in the vmware communities)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 06:49:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-code-Discussions/Unable-to-retrieve-performance-metric-for-a-vm/m-p/2971254#M2278</guid>
      <dc:creator>ilijaaf</dc:creator>
      <dc:date>2023-06-02T06:49:37Z</dc:date>
    </item>
  </channel>
</rss>

