<?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 Get Dashboard data with Dynatrace Environment API 2.0 in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110043#M447</link>
    <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;we have one Dashboard with the response time from several services:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/24075-1583910804737.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/24093-1583910813551.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i want to get this information via REST API restricted to several timeframes. To do this one option (maybe not the best) was the Dynatrace Environment API 2.0 with the /metrics/query option.&lt;/P&gt;&lt;P&gt;I put in the &lt;STRONG&gt;metricSelector &lt;/STRONG&gt;the value &lt;STRONG&gt;builtin:service.response.time&lt;/STRONG&gt; and in the &lt;STRONG&gt;entitySelector &lt;/STRONG&gt;I've to put the dashboard or the tile in the dashboard, ¿how can I specify it?&lt;/P&gt;&lt;P&gt;Regards, Josep Maria&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 07:21:47 GMT</pubDate>
    <dc:creator>jcamps</dc:creator>
    <dc:date>2020-03-11T07:21:47Z</dc:date>
    <item>
      <title>Get Dashboard data with Dynatrace Environment API 2.0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110043#M447</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;we have one Dashboard with the response time from several services:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/24075-1583910804737.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/24093-1583910813551.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;i want to get this information via REST API restricted to several timeframes. To do this one option (maybe not the best) was the Dynatrace Environment API 2.0 with the /metrics/query option.&lt;/P&gt;&lt;P&gt;I put in the &lt;STRONG&gt;metricSelector &lt;/STRONG&gt;the value &lt;STRONG&gt;builtin:service.response.time&lt;/STRONG&gt; and in the &lt;STRONG&gt;entitySelector &lt;/STRONG&gt;I've to put the dashboard or the tile in the dashboard, ¿how can I specify it?&lt;/P&gt;&lt;P&gt;Regards, Josep Maria&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 07:21:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110043#M447</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2020-03-11T07:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Dashboard data with Dynatrace Environment API 2.0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110044#M448</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I guess you should rather use entity IDs or tags whatever works for you. So you implement a REST query similar to what you build in the custom chart. Have a look on my example how I got CPU wait time metric for a given service:&lt;/P&gt;&lt;P&gt;api/v2/metrics/query?metricSelector=builtin%3Aservice.cpu.time&amp;amp;entitySelector=type%28SERVICE%29%2CentityId%28SERVICE-CC5FE0610A39BEF5%29" -H "accept: application/json; charset=utf-8"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;More info here: &lt;A href="https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric-v2/get-data-points/?response-parameters%3C-%3Ejson-model=json-model"&gt;https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/environment-api/metric-v2/get-data-points/?response-parameters%3C-%3Ejson-model=json-model&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 07:36:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110044#M448</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2020-03-11T07:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get Dashboard data with Dynatrace Environment API 2.0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110045#M449</link>
      <description>Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/5499/view.html" nodeid="5499"&gt;@Radoslaw S.,&lt;/A&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thanks for your response, but there's no type for the entity Dasboard? We've several dashboards with several filters and we've to provide this data via API. &lt;/P&gt;&lt;P&gt;To do that, the simplest way was to specify the dashboard or the tile inside the DB in the entitySelector?&lt;/P&gt;&lt;P&gt;Regards, Josep Maria&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Mar 2020 08:37:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110045#M449</guid>
      <dc:creator>jcamps</dc:creator>
      <dc:date>2020-03-11T08:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Get Dashboard data with Dynatrace Environment API 2.0</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110046#M450</link>
      <description>&lt;P&gt;There's no entity Dashboard - it's just a way of displaying the data, you might say. &lt;/P&gt;&lt;P&gt;As written in my comment, you can get exactly same data by the /query REST API and specifying same entities that you specify for you custom chart.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 08:45:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Get-Dashboard-data-with-Dynatrace-Environment-API-2-0/m-p/110046#M450</guid>
      <dc:creator>Radoslaw_Szulgo</dc:creator>
      <dc:date>2020-03-11T08:45:57Z</dc:date>
    </item>
  </channel>
</rss>

