24 Jul 2018 10:26 AM
We have a dashboard Key User Actions if i can get response time of Key Actions through API ?
Solved! Go to Solution.
24 Jul 2018 11:17 AM
Yer you can via the timeseries API.
You can find the relevant metrics under real user monitoring. For key user actions look for appmethod in the timeseries ID.
25 Jul 2018 01:44 PM
Hi Patrick.
Where can I see timeseries ID of key user action ?
thanks
26 Jul 2018 11:12 AM
As mentioned above, look for appmethod. That is the name for key user actions in the time series IDs. So for example:
Per default all key user actions are returned. You can filter for specific actions with the entity parameter.
27 Jul 2018 10:27 AM
Do you know what it means?
filter | Metric type. Allowed values are BUILTIN , PLUGIN , and CUSTOM . |
27 Jul 2018 03:47 PM
You can skip that filter, key user actions are a BUILTIN metric.
27 Jul 2018 10:39 AM
i need API call for Key User action which is in dashboard. could you send me such example
27 Jul 2018 04:01 PM
You need to be more specific on what exact metrics you want regarding the key user actions, or add a screenshot of the dashboard you are talking about.
There are multiple metrics for key user actions you can querry form the API, and you can get them either for key user actions in general or for a specific key user action.
Here is a curl example, if you want the Visually Complete data points for all key user actions over the last hour:
curl -X GET "https://{yourTenant}.dynatrace-managed.com/e/{yourTenant}/api/v1/timeseries/com.dynatrace.builtin%3Aappmethod.visuallycomplete?includeData=true&aggregationType=MEDIAN&relativeTime=hour&queryMode=SERIES&Api-Token={yourAPIToken}" -H "accept: application/json; charset=utf-8"
29 Jul 2018 08:08 AM
Hi Patrick, Thanks for your response,
com.dynatrace.builtin%3Aappmethod.visuallycomplete?includeData=true
&aggregationType=MEDIAN
&relativeTime=hour
&queryMode=SERIES
&Api-Token={yourAPIToken}" -H "accept: application/json; charset=utf-8"
Can you emphasize where I put the name of the user's key action or the name of the dashboard ?
30 Jul 2018 08:58 AM
You can't filter for a dashboard.
If you want a specific key user action you need to use the entity parameter as mentioned above. You can find the entity id for your key user actions either via the query for all key user actions or in the URL of the key user action dashboard. It starts with APPLICATION_METHOD- followed by some numbers.
30 Jul 2018 12:59 PM
I have problem with APPLICATION_METHOD ID.
i have "Key user action" ;uemapplicationId=APPLICATION-XXXXXXF27D43EB;
and other "Key user action" ;uemuserActionId=APPLICATION_METHOD-XXXXXXAD91284AC5;
I'm sending requests
first rquest
×eriesId=com.dynatrace.builtin:app.dominteractiveconsumption.load&relativeTime=5mins&aggregationType=median&entity=XXXXXXAD91284AC5
and other request
×eriesId=com.dynatrace.builtin:app.dominteractiveconsumption.load&relativeTime=5mins&aggregationType=median&entity=XXXXXXB59F27D43EB
I get the same response in different "entity"