This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
No way to add a Link
to an already-created Span
#124
Labels
Link
to an already-created Span
#124
As far as I can tell the only (typescript safe) way to link spans is to pass the link when creating the span as here: https://open-telemetry.github.io/opentelemetry-js-api/interfaces/tracer.html#startspan
However, it's desirable in many situations to be able to associate spans after they are created. I couldn't find any way to do this.
I would expect to be able to do something like:
If there's a way to do this already please let me know. I could contribute this if it makes sense
The text was updated successfully, but these errors were encountered: