Dhruv garg
04/15/2024, 8:07 AMconst trace = signozTracer.startSpan(functionName);
const span = trace.addEvent('mongo-getbyid');
I tried the above approach, but I am getting mongo-getbyid
in events section, instead of in spans below main span.
Any advice to manually instrument database performance traces so that I can see it in a request span as well as separately in mongo group for example.Dhruv garg
04/15/2024, 8:32 AMtracer*.*startActiveSpan
, but this must be using something like asynclocalstorage
which I would prefer to avoid.Srikanth Chekuri
04/15/2024, 12:43 PMmongo-getbyid
is not a span. You are adding it as an event to the existing span.Srikanth Chekuri
04/15/2024, 12:44 PMDhruv garg
04/15/2024, 1:32 PMnode:async
related solutions.Dhruv garg
04/15/2024, 1:34 PMSrikanth Chekuri
04/16/2024, 6:01 PMDhruv garg
04/16/2024, 6:46 PMDhruv garg
04/16/2024, 6:46 PM