[Sentry] Add telemetry spans for search router open event#75439
[Sentry] Add telemetry spans for search router open event#75439rlinoz merged 5 commits intoExpensify:mainfrom
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
|
||
| Timing.start(CONST.TIMING.OPEN_SEARCH); | ||
| Performance.markStart(CONST.TIMING.OPEN_SEARCH); | ||
| startSpan(CONST.TELEMETRY.SPAN_OPEN_SEARCH_ROUTER, { |
There was a problem hiding this comment.
Maybe would be good to track from where it was triggered? Adding sourceRoute to the attributes?
There was a problem hiding this comment.
isn't the previous/current route already tracked in the parameters?
There was a problem hiding this comment.
We can track this using breadcrumbs
rlinoz
left a comment
There was a problem hiding this comment.
Can we also track when it opens via the keyboard shortcut?
We can, what about being on the Reports page where CMD_K results in focusing the search? |
|
@QichenZhu Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@thesahindia @mountiny One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Oh I have done nothing like that, let me try to sync it up with |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/rlinoz in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|
@rlinoz @mountiny @rinej
Explanation of Change
This PR introduces a new manual span for opening up the Search Router.
Transaction name:
ManualOpenSearchRouter.Fixed Issues
$ #74134
PROPOSAL:
Tests
ManualOpenSearchRoutername for your session.Offline tests
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop