0
votes

I'm working on a React Native project and would like to integrate Azure Application Insights.

I have followed the official documentation provided here: https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript-react-native-plugin

While Application map displays request counts with relevant nodes further details on insights are not visible on clicking on the counts.

enter image description here

Also when it comes to Performance, Operations does not display any data while in Dependencies does.

enter image description here

1
There is a Server/Browser switch. Can you check whether you see telemetry when you switch to Browser? - ZakiMa
@ZakiMa for Browser also Operations does not display any data - chathup1
Does Dependencies tab show data for Browser switch? - ZakiMa
I think Operations doesn't show anything because for Browser telemetry it maps to PageViews. But for Single Page Apps it is not as useful (the whole app will be represented as one PageView which doesn't make sense). I think that react-native AI SDK doesn't collect them. - ZakiMa
If you do have a concept of operations then you can call appInsights.trackPageView() manually (and if you do it at startup then both Application Map and Performance will start showing such page views). - ZakiMa

1 Answers

0
votes

Thank you ZakiMa. I am posting your discussion as answer as it will benefit other community users.

Operations are not visible because for Browser telemetry maps to PageViews. But for Single Page Apps, whole app will be represented as one PageView. Application Map doesn't show any transitions as there is no data for main node.