#Problem stuck with support team for a over a month! Going to lose the client if it doesn't clear up
28 messages · Page 1 of 1 (latest)
let me know what details are required to escalate it and I will share
I have configured sentry with my react native application . However I have not been able to get the list of all the screens for the screen loads . I am able to track my App Starts but not the screen loads . I have tried automatic instrumentations under the documentation as well . Attaching the output format as required please provide me any possible solution . Thank you .
cc @velvet dirge
Hi,
thank you for the message here.
The screenshot from the message show the list of screens that you manually instrumented (The upper case names)?
Could you share your Sentry.init call and version of the RN SDK? Which auto instrumentation you tried? Expo, React Navigation or React Native Navigation? And what was the output?
@tawny leaf Can you answer this
@velvet dirge my initial @sentry/react-native version was 5.20.0 and when I updated the sdk to 5.28.0 things worked out for me with the automatic instrumentation code in the documentation and to achieve this I tried react navigation . Thank you . cc : @lament spade
@calm crystal @velvet dirge Any updae on this?
hi @velvet dirge with the sdk updated I am able to track the navigation between the screens under the traces but the another query that I am facing right now is that the screen loads tab is not tracking any data . I have used the approaches of custom transaction scraetion for a component as well as instrumentation (which seems to be working for traces ) but neither is giving out data under screen loads . Could you please help me achieve this output . If any information required from my side please do let me know . cc : @lament spade
For the screen load data you need to enable the Time To Display on the SDK side.
Depending on your setup, you can use automatic TTID for React Navigation and for screens where the automatic instrumentation can't hook in you can use the manual API.
https://docs.sentry.io/platforms/react-native/tracing/instrumentation/time-to-display/
https://docs.sentry.io/platforms/react-native/tracing/instrumentation/time-to-display/#time-to-initial-display-overwrite
@velvet dirge tried the above two suggestions but I get the data under the discovered tab and not under the screen loads . On screen loads it does not even recognize an app and asks me to have a project and device running/asscoiated to be to get the data . This is while I am able to smoothly get data into traces for the each screen navigated . Please let me know if you any fixes/configs to be applied . cc : @lament spade
Thank you, so the SDK is sending the data, but they are not available in the screen loads.
Could you share a screenshot of the screen with the missing information?
@velvet dirge below is the recording displaying all the configs as well as code added . The first screen that show chats is out Chats screen and the screen loads tracks no data there for development . The record that are in production were generated long back when i was trying to solve the issue but now with the same code and configs it has stopped working . Please have a look at this and help me understand if something is missing . Thank you. Link for the recording : https://drive.google.com/file/d/15UnB74ARfTKlnJ4rbfQVix6-zEsnYr9M/view?usp=sharing. cc: @lament spade
@velvet dirge If you don't mind, is it possible to schedule a call to get this sorted?
Thank you for the video.
Please make sure that none of the token in the video are not from your production. To avoid security issues.
Can you first share with us logs from the latest version with debug: true in the Sentry.init.
Therefore we can investagate what's happenning and why the data are possibly missing.
Tokens are from the local environment only .
Hello @velvet dirge below is the link of the recording of the changes I made to record the logs : https://drive.google.com/file/d/1dJ5LrfLDCnQZgf3ivNeD1GaBeuH-7RpQ/view?usp=drive_link. [Attaching a file of logs as well ]
@velvet dirge any updates for the logs shared ? cc: @lament spade
Any findings over the logs @velvet dirge that would help us ? cc: @lament spade
From the logs I see that the initial display was recorded.
DEBUG Sentry Logger [debug]: [TimeToDisplay] chats initial display span updated with end
timestamp.
LOG Sentry Logger [log]: [Measurements] Adding measurements to transaction {
"time_to_initial_display": {
"value": 945.734977722168,
"unit": "millisecond"
},
For this transaction c76906f1e3c24bd7a8cd679114d1cdd3 you should see the TTID in Sentry.
What release and dist do you have set in the test app? The load screens page compares releases, is it possible that the test app uses different release that the selected one?
@velvet dirge for the transaction under the traces category I am able to see TTID . But I want this particular data under the screen loads category with "Initial" as well as "Full Time" taken to display with the component name similar to what we have in out traces . The test app uses the same release as that of the selected one . The expected data is as belows in the image but suprsingly the data is captured only for production and too not for all the components . cc : @lament spade
Could you share a link to this page (you can do it via PM to avoid exposing it publicly)?
At first I thought the SDK is not recording the data, but based on the logs it does, so I would like to check if it's possibly a UI bug.
ok @velvet dirge I will do so let me ask my higher authorities to give you access as well cc: @lament spade
Hello @velvet dirge please check your email I have dropped the required URL yesterday . If you need any permissions please let me know will ask @lament spade for the approval.
any updates over the logs / urls @velvet dirge cc : @lament spade