Is there any way to monitor micro task and macro task queue?
official_dulin

official_dulin @mrdulin

About: I'm Full Stack Developer, Electrical Engineer and Perfectionist.

Location:
Shanghai
Joined:
Sep 2, 2018

Is there any way to monitor micro task and macro task queue?

Publish Date: Aug 16 '23
0 1

I am looking for a way to monitor/visualize the JavaScript micro task and macro task queue like this view in the answer

The microtask created by queueMicrotask API or Promise.

The macro task created by setTimeout().

Is there any way?

Comments 1 total

  • Tobias Nickel
    Tobias NickelAug 19, 2023

    I think you are looking for opentracing.io/

    cloud providers also have commercial services and even sometimes follow the standard.

    in your code you decide how fine grane you create new child-span.

Add comment