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
You're right, the current implementation is wrong and it doesn't support lazy events.
A possible implementation could be to add Callable as an attribute type, exporters should perform a type check and invoke the attribute if it is a Callable to get its value.
Yes, lazy links were also wrongly implemented by me, somehow I misunderstood that lazy meant to receive an Event object instead of receiving the parameters and constructing the object internally.
Specification of Event states that Lazy Event is
But now it's not true. In resolved PR#130 mentions lazy attributes for Event and Link in the future, but I don't see an issue about it.
Current code of
Span.add_lazy_event
andSpan.add_event
in SDK looks strange.The text was updated successfully, but these errors were encountered: