<?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 Difference in granularity between UI and API in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Difference-in-granularity-between-UI-and-API/m-p/716973#M295</link>
    <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I'm using the SaaS controller.&amp;nbsp; I'm familiar with metric rollup but there is a difference in data granularity between the SaaS UI and the output from the metric-data REST endpoint.&lt;/P&gt;&lt;P&gt;Currently I'm looking at some data in the UI and it shows 1 minute intervals for a week ago.&amp;nbsp; However when I query the same approximate time range from the REST API, it's giving me 1 hour intervals.&amp;nbsp; Rollup is false.&amp;nbsp; I've tried adjusting the start time of my REST query to be &amp;lt; 1 week ago.&amp;nbsp; The time range of my query is 2 hours.&lt;/P&gt;&lt;P&gt;Through trial and error, it looks like the API returns 1 hour granularity for times more than about 24 hours ago.&amp;nbsp; Somewhere between 12-24 hours ago, I get 10 minute granularity and 1 minute for less than that.&lt;/P&gt;&lt;P&gt;Is there a way I can get the 1 minute granularity from REST.&amp;nbsp; Obviously the data exists if the UI is showing it to me.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 19:30:45 GMT</pubDate>
    <dc:creator>JohnGregg</dc:creator>
    <dc:date>2022-04-12T19:30:45Z</dc:date>
    <item>
      <title>Difference in granularity between UI and API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Difference-in-granularity-between-UI-and-API/m-p/716973#M295</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I'm using the SaaS controller.&amp;nbsp; I'm familiar with metric rollup but there is a difference in data granularity between the SaaS UI and the output from the metric-data REST endpoint.&lt;/P&gt;&lt;P&gt;Currently I'm looking at some data in the UI and it shows 1 minute intervals for a week ago.&amp;nbsp; However when I query the same approximate time range from the REST API, it's giving me 1 hour intervals.&amp;nbsp; Rollup is false.&amp;nbsp; I've tried adjusting the start time of my REST query to be &amp;lt; 1 week ago.&amp;nbsp; The time range of my query is 2 hours.&lt;/P&gt;&lt;P&gt;Through trial and error, it looks like the API returns 1 hour granularity for times more than about 24 hours ago.&amp;nbsp; Somewhere between 12-24 hours ago, I get 10 minute granularity and 1 minute for less than that.&lt;/P&gt;&lt;P&gt;Is there a way I can get the 1 minute granularity from REST.&amp;nbsp; Obviously the data exists if the UI is showing it to me.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 19:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Difference-in-granularity-between-UI-and-API/m-p/716973#M295</guid>
      <dc:creator>JohnGregg</dc:creator>
      <dc:date>2022-04-12T19:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in granularity between UI and API</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Difference-in-granularity-between-UI-and-API/m-p/716974#M296</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hi &lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/95800"&gt;@John.Gregg&lt;/A&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you for your question on the community!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;First of all, the granularity you can get via REST API is different from the Controller UI.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;You can get recent data with only the following granularity via REST API:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt; 1-minute granularity for the last 1 day.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt; 10-minute granularity for the last 2 day.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;On the other hand, a resolution of metric data on the controller UI depends on a time range you select.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Also please take note that all data at 1-minute resolution is deleted after 8 days as described in the link below:&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://docs.appdynamics.com/appd/21.x/latest/en/appdynamics-essentials/metrics-and-graphs/metric-data-resolution-over-time#id-.MetricDataResolutionoverTimev21.1-MetricsDataRetentionandDeletion" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/appd/21.x/latest/en/appdynamics-essentials/metrics-and-graphs/metric-data-resolution-over-time#id-.MetricDataResolutionoverTimev21.1-MetricsDataRetentionandDeletion&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hirokazu&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Jun 2022 05:24:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Difference-in-granularity-between-UI-and-API/m-p/716974#M296</guid>
      <dc:creator>Hirokazu_Mori1</dc:creator>
      <dc:date>2022-06-24T05:24:08Z</dc:date>
    </item>
  </channel>
</rss>

