<?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: Variables of specific Type in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231399#M3492</link>
    <description>&lt;P&gt;Totally missed the quotation marks! Well cool then I am happy it works for you! Keep us in the loop when you face other issues! Always on the lookout for variable feedback.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Dec 2023 07:16:30 GMT</pubDate>
    <dc:creator>zietho</dc:creator>
    <dc:date>2023-12-09T07:16:30Z</dc:date>
    <item>
      <title>Variables of specific Type</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/230916#M3476</link>
      <description>&lt;P&gt;Is there a way to specify a dashboard variable of type "duration"?&lt;BR /&gt;Or a way to convert a string to a duration within the makeTimeseries command, like this?&lt;/P&gt;&lt;P&gt;Aggregation = 1d,7d,30d&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs, scanLimitGBytes: 5000
| filter isNotNull(k8s.deployment.name)
| filter loglevel == "INFO"
| fields k8s.deployment.name, chars=stringLength(content), timestamp
| makeTimeseries sum_content_chars=sum(chars), by: {k8s.deployment.name}, interval:asDuration($Aggregation)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The above DQL fails with "&lt;SPAN&gt;Execution failed with error: failure to statically evaluate expression"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 11:12:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/230916#M3476</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-12-05T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variables of specific Type</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231245#M3479</link>
      <description>&lt;P&gt;&lt;SPAN&gt;E.g. with duration(toLong($resolution), unit:"m"))}&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;FInd an example here:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/dashboard-component-variable#limitations-when-using-variables-in-tiles" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/dashboard-component-variable#limitations-when-using-variables-in-tiles&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 14:51:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231245#M3479</guid>
      <dc:creator>zietho</dc:creator>
      <dc:date>2023-12-07T14:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Variables of specific Type</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231263#M3482</link>
      <description>&lt;P&gt;I tried that before in this form:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| makeTimeseries sum_content_chars=sum(chars), by: {k8s.deployment.name}, interval:duration(toLong($Aggregation),unit:d)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However this didn't work:&lt;BR /&gt;"&lt;SPAN&gt;The parameter `interval` has to be constant, but `duration(toLong("1"), d)` accesses data."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 17:11:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231263#M3482</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-12-07T17:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variables of specific Type</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231304#M3484</link>
      <description>&lt;P&gt;odd seems like there have been some changes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What works for me is the following, where I just pass the unit as a second parameter:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zietho_0-1701990573960.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16097iAE2B5AF97020CD1E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zietho_0-1701990573960.png" alt="zietho_0-1701990573960.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;timeseries avg(dt.host.cpu.idle), interval: duration(toLong("2"),"d")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 23:12:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231304#M3484</guid>
      <dc:creator>zietho</dc:creator>
      <dc:date>2023-12-07T23:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Variables of specific Type</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231339#M3486</link>
      <description>&lt;P&gt;*Facepalm*...unit has to be a string!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeTimeseries sum_content_chars=sum(chars), by: {k8s.deployment.name}, interval:duration(toLong($Aggregation),unit:"d")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That works, also if the unit itself is a variable&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:12:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231339#M3486</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-12-08T09:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variables of specific Type</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231399#M3492</link>
      <description>&lt;P&gt;Totally missed the quotation marks! Well cool then I am happy it works for you! Keep us in the loop when you face other issues! Always on the lookout for variable feedback.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 07:16:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Variables-of-specific-Type/m-p/231399#M3492</guid>
      <dc:creator>zietho</dc:creator>
      <dc:date>2023-12-09T07:16:30Z</dc:date>
    </item>
  </channel>
</rss>

