<?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 Single value tile with sparkline and trend as in classic metric explorer in new Dashboards in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Single-value-tile-with-sparkline-and-trend-as-in-classic-metric/m-p/231250#M3481</link>
    <description>&lt;P&gt;I have tried simple single value via timeseries cpu=avg(dt.host.cpu.usage) data.&lt;/P&gt;
&lt;P&gt;I had learned that output of timeseries is array, so single value is not possible (blank widget without any info, but it shows trend at least, when i select timeframe/interval as input data).&lt;/P&gt;
&lt;P&gt;Another try was timeseries cpu=avg(dt.host.cpu.usage)|fields cpuavg=arrayAvg(cpu).&lt;/P&gt;
&lt;P&gt;This produces nice single value but doesn't allow to visualize sparkline, nor trends (as it's only single number obviously).&lt;/P&gt;
&lt;P&gt;I had tried to push array as well via timeseries cpu=avg(dt.host.cpu.usage)|fields cpu,cpuavg=arrayAvg(cpu), but sparkline does not allow to use cpu array as data source (shows None as record field only option).&lt;/P&gt;
&lt;P&gt;I know it's only early access, but any hints how to achieve such a simple task ? (single value with sparkline and trend as in classic metric explorer)&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 09:07:34 GMT</pubDate>
    <dc:creator>rastislav_danis</dc:creator>
    <dc:date>2024-08-05T09:07:34Z</dc:date>
    <item>
      <title>Single value tile with sparkline and trend as in classic metric explorer in new Dashboards</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-value-tile-with-sparkline-and-trend-as-in-classic-metric/m-p/231250#M3481</link>
      <description>&lt;P&gt;I have tried simple single value via timeseries cpu=avg(dt.host.cpu.usage) data.&lt;/P&gt;
&lt;P&gt;I had learned that output of timeseries is array, so single value is not possible (blank widget without any info, but it shows trend at least, when i select timeframe/interval as input data).&lt;/P&gt;
&lt;P&gt;Another try was timeseries cpu=avg(dt.host.cpu.usage)|fields cpuavg=arrayAvg(cpu).&lt;/P&gt;
&lt;P&gt;This produces nice single value but doesn't allow to visualize sparkline, nor trends (as it's only single number obviously).&lt;/P&gt;
&lt;P&gt;I had tried to push array as well via timeseries cpu=avg(dt.host.cpu.usage)|fields cpu,cpuavg=arrayAvg(cpu), but sparkline does not allow to use cpu array as data source (shows None as record field only option).&lt;/P&gt;
&lt;P&gt;I know it's only early access, but any hints how to achieve such a simple task ? (single value with sparkline and trend as in classic metric explorer)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 09:07:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-value-tile-with-sparkline-and-trend-as-in-classic-metric/m-p/231250#M3481</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-08-05T09:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Single value tile with sparkline and trend as in classic metric explorer in new Dashboards</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Single-value-tile-with-sparkline-and-trend-as-in-classic-metric/m-p/252902#M4151</link>
      <description>&lt;P&gt;I think your approach is almost perfect but, when you use&amp;nbsp;&lt;EM&gt;fields&lt;/EM&gt; you limit the amount of fields returned in the query. You can directly add the extra calculation with &lt;EM&gt;fieldsAdd&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;I believe the following query should fit your needs and let you visualize everything in a single value tile:&lt;BR /&gt;&lt;BR /&gt;timeseries cpu=avg(dt.host.cpu.usage)&lt;BR /&gt;| fieldsAdd cpuAvg=arrayAvg(cpu)&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 10:30:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Single-value-tile-with-sparkline-and-trend-as-in-classic-metric/m-p/252902#M4151</guid>
      <dc:creator>Alejandro</dc:creator>
      <dc:date>2024-08-08T10:30:46Z</dc:date>
    </item>
  </channel>
</rss>

