29 Aug 2022 02:12 PM - last edited on 27 Mar 2023 02:24 AM by MaciejNeumann
hi, I am looking for an API which will provide monthwise RUM details like "apdexCategory",
Solved! Go to Solution.
You should use the startTimestamp & endTimestamp parameters. Please check it out at:
Can you please share the sample request? i am not sure about the parmaters to be passed to get monthwise details.
19 Sep 2022 11:46 AM - last edited on 27 Mar 2023 02:24 AM by MaciejNeumann
You can do it by something like the following line of curl. Please change abc12345 for your tenant and DYNATRACE.TOKEN for the auth token. As you can see, you will have to give the corresponding UTC time in milliseconds:
curl -X GET "https://abc12345.live.dynatrace.com/api/v1/userSessionQueryLanguage/table?query=select%20apdexcategory%2C%20count%28%2A%29%20from%20useraction%20group%20by%20apdexcategory&startTimestamp=1659315600000&endTimestamp=1661994000000&addDeepLinkFields=false&explain=false " -H "accept: application/json" -H "Authorization: Api-Token DYNATRACE.TOKEN"
It's easier if you test it in the UI first. Change abd12345 for your tenant and give it a try:
thanks @AntonioSousa for the details. i am looking for a field which provides availability % of monitors or application from RUM API. I tried querying usersession and useraction tables but could not figure the field. Can you provide info on this?
Please notice that availability might be very difficult to get from RUM data, and thus USQL. Better done with synthetic monitoring, which I believe are the monitors you are referring to. For these, there is a different synthetic API, that you might use.