<?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>question Re: CDP CLI df metrics time period argument poorly documented in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385558#M245744</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;Thanks for bringing this to our community!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can use one of the below options with&amp;nbsp;&lt;SPAN&gt;--metrics-time-period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LAST_THIRTY_MINUTES, LAST_ONE_HOUR, LAST_TWELVE_HOURS, LAST_ONE_DAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 12:06:30 GMT</pubDate>
    <dc:creator>tj2007</dc:creator>
    <dc:date>2024-03-26T12:06:30Z</dc:date>
    <item>
      <title>CDP CLI df metrics time period argument poorly documented</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385507#M245721</link>
      <description>&lt;P&gt;I'm trying to use the cdp cli (v.&amp;nbsp;&lt;SPAN class="s1"&gt;0.9.106 on my local machine) to get KPI metrics from CDF. I'm using the command `cdp df list-deployment-system-metrics --deployment-crn my-deployment-crn` but struggling to correctly format the required `--metrics-time-period` arg. The documentation isn't helpful here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-03-25 at 9.11.58 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40143i644200C1C64495FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-03-25 at 9.11.58 AM.png" alt="Screenshot 2024-03-25 at 9.11.58 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tried a few things like:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;`&lt;SPAN class="s1"&gt;--metrics-time-period "2024-03-24T12:00:00Z:2024-03-24T16:00:00Z"`&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN class="s1"&gt;`&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;--metrics-time-period LAST_24_HOURS&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN class="s1"&gt;`&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;--metrics-time-period "yesterday"&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;But they all scream back:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1 lia-indent-padding-left-30px"&gt;&lt;SPAN class="s1"&gt;An error occurred: No enum constant com.cloudera.dfx.metrics.TimeSpan.TimePeriod.yesterday (Status Code: 400; Error Code: INVALID_ARGUMENT; Service: df; Operation: listDeploymentSystemMetrics;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;If someone could elaborate on what this command is expecting, or better yet, offer up some examples of successful executions, that'd be great!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:41:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385507#M245721</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2026-04-21T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: CDP CLI df metrics time period argument poorly documented</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385558#M245744</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/107030"&gt;@ipson&lt;/a&gt;,&amp;nbsp;&lt;SPAN&gt;Thanks for bringing this to our community!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can use one of the below options with&amp;nbsp;&lt;SPAN&gt;--metrics-time-period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LAST_THIRTY_MINUTES, LAST_ONE_HOUR, LAST_TWELVE_HOURS, LAST_ONE_DAY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 12:06:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385558#M245744</guid>
      <dc:creator>tj2007</dc:creator>
      <dc:date>2024-03-26T12:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: CDP CLI df metrics time period argument poorly documented</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385567#M245746</link>
      <description>&lt;P&gt;That works. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 14:00:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-CLI-df-metrics-time-period-argument-poorly-documented/m-p/385567#M245746</guid>
      <dc:creator>ipson</dc:creator>
      <dc:date>2024-03-26T14:00:22Z</dc:date>
    </item>
  </channel>
</rss>

