Issue with Reproducing Strange Effect Behavior
solved im having a strange issue but I can't get a simple repro.
it comes down to this:
but instead of span within-request having span request as parent, it has span constructing as parent - while that was only a span at construction (but I repeat, the above does not reproduce the issue)
(its an express app, where at the start we construct all handler functions, and then call handler(req, res next) upon each request.
interestingly, span request doesn't have span constructing as parent.
and when I remove span constructing, span within-request suddenly correctly has span request as parent.
im using the standard otel setup from the sample in this case, so I can see the traces in my log output being wrong.
it comes down to this:
but instead of span within-request having span request as parent, it has span constructing as parent - while that was only a span at construction (but I repeat, the above does not reproduce the issue)
(its an express app, where at the start we construct all handler functions, and then call handler(req, res next) upon each request.
interestingly, span request doesn't have span constructing as parent.
and when I remove span constructing, span within-request suddenly correctly has span request as parent.
im using the standard otel setup from the sample in this case, so I can see the traces in my log output being wrong.
