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

Device usage metrics for our application

gopal.singh
Adventurer

Hey,

 

We have our app acessible across plaforms (web, iOS and windows 10 native). 

 

What I am trying to do is to create a dashboard to show the device/platforms adoption. I see transactions from our web and iOS apps but not windows native (dont have instrumentation libraries for the same). As a work around I am trying to create a dashboard based on the incoming request header that we are sending from the app. Not sure what the query must be ? Is this feasible?

 

Any help is appreciated.

 

Thanks!

10 REPLIES 10

Gaurav.Soni
AppDynamics Team (Retired)

Hi Gopal,

 

If windows native app is not instrumented you might not see the usage under EUM. But if the required data is captured as a header on the server side, you can probably define a Data Collector on associated APM application and use that for usage analysis.

 

Regards,

Gaurav Soni

 

 

 

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Yeah, the default data collector is putting that info in the captured transaction. And I am able to filter the transactions based in the header (pls refer the attachment). The real problem I am facing is how to query these transaction as the widget query syntax is quite different.

 

Shouldnt this data be in transactions table "segments.httpData.headers" column?

 

I am really a beginner with appD, please excuse me for my ignorance.

Gaurav.Soni
AppDynamics Team (Retired)

No problem Gopal, Your expectation seems to be correct. Just trying to understand better, when you say 'query', how are you querying this data? ADQL via Analytics or Analytics API?

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Via the ADQL via Analytics.

Any help?

Gaurav.Soni
AppDynamics Team (Retired)
Hi Gopal,

Sorry for the delay. I will check and get back soon.

Regards,
Gaurav Soni


Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Gaurav.Soni
AppDynamics Team (Retired)

Hi Gopal,

 

Make sure you have added the Header to HTTP data collector. header.png

and then reset/restart java agent, then generate some load.

After that, you should see the Referer as data in analytics and the ADQL to fetch this data will be:

SELECT * FROM transactions WHERE segments.httpData.headers.Referer = "http://localhost:8080/sample/hello"

Let me know if this is not working.

 

Regards,

Gaurav Soni

 

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Thanks Gaurav.

 

I tried the same for User-Agent header property and I get the following error "Unrecognized field: [segments.httpData.headers.User-Agent] not found in schema.". I am i missing something here? please refer the screenshots of the same.

Gaurav.Soni
AppDynamics Team (Retired)

HI Gopal,

 

Can you confirm if you can see the HTTP data on the APM side (in transaction snapshot for this request)?

 

Regards,

Gaurav Soni



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.