<?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 Need to stored user count for longer timeframe in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Need-to-stored-user-count-for-longer-timeframe/m-p/219765#M4547</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am trying see user count in range 6 month.&lt;/P&gt;
&lt;P&gt;currently i am using this query to show the total user. but this is only last 35 day due retention period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT Count(DISTINCT(userid)) FROM usersession where userId IS NOT NULL&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in my mind it is need to create user session custom metric, but i cannot find the proper way to setup like USQL above.&lt;/P&gt;
&lt;P&gt;is there someone facing same problem with me and have solution ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2024 18:26:07 GMT</pubDate>
    <dc:creator>noor_afrians</dc:creator>
    <dc:date>2024-03-11T18:26:07Z</dc:date>
    <item>
      <title>Need to stored user count for longer timeframe</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Need-to-stored-user-count-for-longer-timeframe/m-p/219765#M4547</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am trying see user count in range 6 month.&lt;/P&gt;
&lt;P&gt;currently i am using this query to show the total user. but this is only last 35 day due retention period.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT Count(DISTINCT(userid)) FROM usersession where userId IS NOT NULL&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in my mind it is need to create user session custom metric, but i cannot find the proper way to setup like USQL above.&lt;/P&gt;
&lt;P&gt;is there someone facing same problem with me and have solution ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 18:26:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Need-to-stored-user-count-for-longer-timeframe/m-p/219765#M4547</guid>
      <dc:creator>noor_afrians</dc:creator>
      <dc:date>2024-03-11T18:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need to stored user count for longer timeframe</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Need-to-stored-user-count-for-longer-timeframe/m-p/219770#M4548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/45733"&gt;@noor_afrians&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For this you can cerate a small automation code that will run&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-usql-table" target="_blank" rel="noopener"&gt;User sessions API&lt;/A&gt;&amp;nbsp;with your select and push back the information to dynatrace as a metric with&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-post-datapoints" target="_blank" rel="noopener"&gt;Metrics API - POST ingest data points&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need minutes interval then create an &lt;A href="https://www.dynatrace.com/support/help/shortlink/activegate-extensions-intro#what-is-the-activegate-extensions-architecture" target="_blank" rel="noopener"&gt;AG extension&lt;/A&gt; that will run the code every minute ,if its for longer intervals use some scheduler to run it every no and than.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 06:33:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Need-to-stored-user-count-for-longer-timeframe/m-p/219770#M4548</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2023-08-04T06:33:58Z</dc:date>
    </item>
  </channel>
</rss>

