<?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: How to get key user action display name via API in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109985#M718</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/4563/view.html" nodeid="4563"&gt;@Jeff R.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I make yesterday something more or less similar using  &lt;STRONG&gt;&lt;U&gt;Timeseries (Api V1)&lt;/U&gt;&lt;/STRONG&gt; to find "Key user actions". I see you're using V2 (metrics api)&lt;/P&gt;&lt;P&gt;try this to export all .. and/or ...  add parameter to export the one you need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://dynatrace.xxxxxx/e/xxxxxx/api/v1/timeseries/com.dynatrace.builtin:appmethod.useractionduration?includeData=true&amp;amp;aggregationType=AVG&amp;amp;relativeTime=day&amp;amp;queryMode=TOTAL" target="_blank"&gt;https://dynatrace.xxxxxx/e/xxxxxx/api/v1/timeseries/com.dynatrace.builtin:appmethod.useractionduration?includeData=true&amp;amp;aggregationType=AVG&amp;amp;relativeTime=day&amp;amp;queryMode=TOTAL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/24112-1583879367196.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 22:38:21 GMT</pubDate>
    <dc:creator>Domenico_Bressi</dc:creator>
    <dc:date>2020-03-10T22:38:21Z</dc:date>
    <item>
      <title>How to get key user action display name via API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109984#M717</link>
      <description>&lt;P&gt;I’m trying to extract metrics for specific key user actions, via API calls such as the following. As can be seen, I am referencing the “entityID” of a specific key user action. I am trying to find a way, via the API, to lookup the display name of a Key User Action based on its ID but can’t find anyway to do this other than via USQL (sample query below). Perhaps I am overlooking something – is there in fact anyway to, via the API, get the display name for a specific entityID? Conversely, if I had a key user action name, would there be anyway of finding its entitityID via the API without using USQL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;API Example to get a metric for a specific key user action&lt;/P&gt;
&lt;P&gt;&lt;A href="https://%3cENV%3e/api/v2/metrics/query?Api-Token=%3cTOKEN%3e&amp;amp;metricSelector=builtin:apps.web.action.duration.xhr.browser:merge%281%29&amp;amp;entitySelector=type%28APPLICATION_METHOD%29,entityId%28APPLICATION_METHOD-%3cID%3e%29&amp;amp;resolution=M&amp;amp;from=now-12M" target="_blank"&gt;https://&amp;lt;ENV&amp;gt;/api/v2/metrics/query?Api-Token=&amp;lt;TOKEN&amp;gt;&amp;amp;metricSelector=builtin:apps.web.action.duration.xhr.browser:merge(1)&amp;amp;entitySelector=type(APPLICATION_METHOD),&lt;STRONG&gt;entityId(APPLICATION_METHOD-&amp;lt;ID&amp;gt;)&lt;/STRONG&gt;&amp;amp;resolution=M&amp;amp;from=now-12M&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;USQL sample:&lt;/P&gt;
&lt;P&gt;select DISTINCT internalKeyUserActionId from useraction WHERE name = "loading of page /somepage/index.html"&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:08:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109984#M717</guid>
      <dc:creator>jeff_rowell</dc:creator>
      <dc:date>2022-09-30T11:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get key user action display name via API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109985#M718</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://answers.dynatrace.com/users/4563/view.html" nodeid="4563"&gt;@Jeff R.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I make yesterday something more or less similar using  &lt;STRONG&gt;&lt;U&gt;Timeseries (Api V1)&lt;/U&gt;&lt;/STRONG&gt; to find "Key user actions". I see you're using V2 (metrics api)&lt;/P&gt;&lt;P&gt;try this to export all .. and/or ...  add parameter to export the one you need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer noopener noreferrer" href="https://dynatrace.xxxxxx/e/xxxxxx/api/v1/timeseries/com.dynatrace.builtin:appmethod.useractionduration?includeData=true&amp;amp;aggregationType=AVG&amp;amp;relativeTime=day&amp;amp;queryMode=TOTAL" target="_blank"&gt;https://dynatrace.xxxxxx/e/xxxxxx/api/v1/timeseries/com.dynatrace.builtin:appmethod.useractionduration?includeData=true&amp;amp;aggregationType=AVG&amp;amp;relativeTime=day&amp;amp;queryMode=TOTAL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/24112-1583879367196.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 22:38:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109985#M718</guid>
      <dc:creator>Domenico_Bressi</dc:creator>
      <dc:date>2020-03-10T22:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get key user action display name via API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109986#M719</link>
      <description>&lt;P&gt;Thank you very much for suggesting this approach. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 17:04:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109986#M719</guid>
      <dc:creator>jeff_rowell</dc:creator>
      <dc:date>2020-03-24T17:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get key user action display name via API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109987#M720</link>
      <description>&lt;P&gt;Unfortunately, after further investigation, I found that the solution provided above will not work. The V1 API is only usable for some metrics, and not the ones that relate to Key User Actions. E.g., you cannot lookup builtin:apps.web.action.duration.load.browser.&lt;/P&gt;&lt;P&gt;I could use the USQL API to obtain the display name for a Key User action based on its ID, but I would prefer not to take this approach because it would not allow me to lookup older key user action IDs (I believe that I would be restricted to 35 days worth of data). &lt;/P&gt;&lt;P&gt;I have been trying to find another way to get the display name via the API but so far without any success.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 18:22:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/109987#M720</guid>
      <dc:creator>jeff_rowell</dc:creator>
      <dc:date>2020-03-25T18:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get key user action display name via API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/180201#M3496</link>
      <description>&lt;P&gt;Hi Domenico,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to get when we are using V2 (metrics api) ? Is it possible? Because we have to use v2 api.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 13:04:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/180201#M3496</guid>
      <dc:creator>oakdag</dc:creator>
      <dc:date>2022-02-04T13:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get key user action display name via API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/180221#M3497</link>
      <description>&lt;P&gt;You can use the /api/v2/entities API to get the display name of an APPLICATION_METHOD entity.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 18:37:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-get-key-user-action-display-name-via-API/m-p/180221#M3497</guid>
      <dc:creator>mgome</dc:creator>
      <dc:date>2022-02-04T18:37:09Z</dc:date>
    </item>
  </channel>
</rss>

