Dynatrace API
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get custom values reported by Mobile app in Grail DQL

augustin-bunani
Newcomer

 

I am creating a custom action in my Swift (iOS/mobile) application as described in the Dynatrace documentation:

 

I can successfully see and query these reported values in Dynatrace RUM. However, I am unable to find or query these values using DQL in Dynatrace Grail.

My question is: How are values reported using DTXAction.reportValue() stored in Grail, and is there a way to access these custom action values using DQL? If so, what is the appropriate DQL query or field name I should use?

 

let myAction = DTXAction.enter(withName: "My action")

myAction?.reportValue(withName: "My int value", intValue: 1234)

myAction?.reportValue(withName: "My double value", doubleValue: 12.34)

myAction?.reportValue(withName: "My string value", stringValue: "Hello World!")

myAction?.leave()

2 REPLIES 2

Julius_Loman
DynaMight Legend
DynaMight Legend

@augustin-bunani , the new RUM which uses Grail, has a different APIs and concepts described here https://docs.dynatrace.com/docs/observe/digital-experience/rum/mobile-frontends/android/id-08-custom... and https://docs.dynatrace.com/docs/shortlink/custom-events-ios#event-and-session-properties for iOS

Dynatrace Ambassador | Alanata a.s., Slovakia, Dynatrace Master Partner

augustin-bunani
Newcomer

Thank you soo much this is perfect. 

Featured Posts