You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only affects the JavaScript OpenTelemetry library
This may affect other libraries, but I would like to get opinions here first
I try to use user-interaction plugin with vue.js, there is something wrong with tracing. I read the source code of the plugin. it seems that async operation counter +1 when invoke patchScheduleTask() and -1 when invoke patchRunTask() and then finish span when all tasks done.
The question is : is it possible an async operation scheduled in a zoneTask and invoke its callback in another?
In user-interaction-plugin, click event listener callback(here is hello()) will run in a new zone, then patchScheduleTask() will detect setTimeout(...), patchRunTask() will invoke its callback fn, right?
when hello() function done, vue will notify watcher to update DOM, it generates a Promise outside hello() function, with DOM update callback inside.
I print the params defined in patchScheduleTask() and patchRunTask() log message, schedule and run with different zoneTask, and _shouldCountTask() followed, span with number of task is not correct.
_patchZoneScheduleTask(), _patchZoneRunTask(), _patchZoneCancelTask(), I replace current zone global to the zone.js callback inner one:
I try to use user-interaction plugin with vue.js, there is something wrong with tracing. I read the source code of the plugin. it seems that async operation counter +1 when invoke patchScheduleTask() and -1 when invoke patchRunTask() and then finish span when all tasks done.
The question is : is it possible an async operation scheduled in a zoneTask and invoke its callback in another?
In user-interaction-plugin, click event listener callback(here is hello()) will run in a new zone, then patchScheduleTask() will detect setTimeout(...), patchRunTask() will invoke its callback fn, right?
when hello() function done, vue will notify watcher to update DOM, it generates a Promise outside hello() function, with DOM update callback inside.
I print the params defined in patchScheduleTask() and patchRunTask() log message, schedule and run with different zoneTask, and _shouldCountTask() followed, span with number of task is not correct.
_patchZoneScheduleTask(), _patchZoneRunTask(), _patchZoneCancelTask(), I replace current zone global to the zone.js callback inner one:
it works, is it the right thing to do?
The text was updated successfully, but these errors were encountered: